nuke/lib
Xe Iaso 16a4e04027
fix(lib): fix invalid response after success in Chrome (#711)
Closes #564

This one is really dumb. Take a seat and listen to my tale of woe.

While @victorvalenca was working on #693 we ran into a strange issue.
The tests would consistently pass on Firefox but instantly failed on
Chrome. After adding increasingly desperate debugging logs to the mix,
we found out that somehow Chrome was randomizing the contents of its
Accept-Language header. This was making the challenge string get
calculated differently, thus making things spuriously fail. I cannot
figure out what causes Chrome to do this other than you being in an
environment where you have more than one "system language" set.

Either way, this should finally fix this issue and bring peace to the
land forever*.

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-06-23 15:11:56 -04:00
..
challenge feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
policy feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
testdata fix(config): actually load threshold config (#696) 2025-06-19 17:13:01 -04:00
anubis.go fix(lib): fix invalid response after success in Chrome (#711) 2025-06-23 15:11:56 -04:00
anubis_test.go feat: add default OpenGraph tags to configuration file (#694) 2025-06-19 18:00:44 -04:00
config.go feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
config_test.go fix(config): actually load threshold config (#696) 2025-06-19 17:13:01 -04:00
http.go feat: implement imprint/impressum support (#706) 2025-06-22 18:09:37 -04:00
http_test.go fix(lib): properly clear out test cookie (#522) 2025-05-18 22:41:26 +00:00