bugz.fedoraproject.org: urlescape redirect instead of \

In a recent apache update they fixed CVE-2023-25690 which now disallowes
redirects with spaces in them. So, just urlencode the space instead of
trying to escape it and it should redirect correctly.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-03-15 12:29:55 -07:00
parent 6aa0ea662a
commit 6e982da0d4

View file

@ -1,5 +1,5 @@
RewriteEngine On
RewriteMap lowercase int:tolower
RewriteRule ^/(.+) https://bugzilla.redhat.com/buglist.cgi?bug_status=__open__&classification=Fedora&product=Fedora&product=Fedora\ EPEL&component=$1 [R,L]
RewriteRule ^/(.+) https://bugzilla.redhat.com/buglist.cgi?bug_status=__open__&classification=Fedora&product=Fedora&product=Fedora%20EPEL&component=$1 [R,L]
RewriteRule ^/$ https://bugzilla.redhat.com/ [R,L]