Hi guys,
maybe a bit of a noob question, but can anybody tell me what the purpose of this line in the default authelia-server.conf is?
if ($request_uri ~ [^a-zA-Z0-9_+-=\!@$%&*?~.:#'\;\(\)\[\]]) { return 401; }
As far as I understand it's preventing illegal characters in the request_uri but this is causing problems with some urls for me.
Urls similar to this cause an infinite realoding of an error page:
https://redacted.org/content?c={"type":"x"}&perPage=n&sortby=xyz
After I removed the line everything worked fine for me so what is it used for?