debuginfod proxies: preserve & pass %2F etc.

Apache httpd by default blocks URL-encoded / (%2F) characters in the
URL path, even though these are RFC-compliant.  Enable them and permit
their safe passage to the debuginfod servers.

See also https://stackoverflow.com/a/9933890/661150

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
This commit is contained in:
Frank Ch. Eigler 2021-08-20 13:43:26 -04:00 committed by fche
parent 9a32ce7912
commit d835aba567
2 changed files with 3 additions and 1 deletions

View file

@ -776,7 +776,7 @@
destname: debuginfod
# manage non-trivial reverse-proxy specs in template
proxyurl: http://debuginfod01:8002
proxyopts: "connectiontimeout=600 timeout=600 keepalive=on"
proxyopts: "connectiontimeout=600 timeout=600 keepalive=on nocanon"
tags:
- debuginfod

View file

@ -1,4 +1,6 @@
AllowEncodedSlashes NoDecode
# Reverse-proxy /buildid/* queries
ProxyPassMatch "^/buildid/(.*)$" "{{proxyurl}}/buildid/$1" {{proxyopts}}