Open prigaux opened 5 months ago
To help users, we added the following on our rev-proxy :
proxy_set_header Accept-Encoding "";
subs_filter "^Unknown error$" "Il semble que vous ayez un cookie étrange mal géré, veuillez aller sur notre <a href='https://browser-diagnostic.univ-paris1.fr/'>outil de diagnostic</a>." r;
together with the following https://github.com/UnivParis1/browser-diagnostic/commit/50455e3aad6551f6ffa45976cb0cd77be77519cf
Code Version
8.4.0
Expected Behavior
If the browser sends
Cookie: foo: bar boo; SATOSA...
, the cookiefoo
should be ignored.Current Behavior
It fails with "Unknown error"
Possible Solution
Filter out those weird cookies on apache/nginx?
Steps to Reproduce
document.cookie = "foo=bar boo; path=/; domain=.univ.fr