Skip to content
Snippets Groups Projects
Commit 8ffb82b2 authored by ale's avatar ale
Browse files

Remove Accept-Charset from forbidden request headers

Apparently gotosocial uses it for profile discovery.
parent 73d00d6d
No related branches found
No related tags found
No related merge requests found
Pipeline #60802 passed
......@@ -428,13 +428,13 @@ SecAction \
# Blocking Proxy header prevents 'httpoxy' vulnerability: https://httpoxy.org
# Default: /proxy/ /lock-token/ /content-range/ /if/
# Uncomment this rule to change the default.
#SecAction \
# "id:900250,\
# phase:1,\
# nolog,\
# pass,\
# t:none,\
# setvar:'tx.restricted_headers=/proxy/ /lock-token/ /content-range/ /if/'"
SecAction \
"id:900250,\
phase:1,\
nolog,\
pass,\
t:none,\
setvar:'tx.restricted_headers=/content-encoding/ /proxy/ /lock-token/ /content-range/ /if/'"
# File extensions considered static files.
# Extensions include the dot, lowercase, enclosed by /slashes/ as delimiters.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment