From 6e982da0d4f18e4dd688545b9b3cecf6bfaa2ba3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 15 Mar 2023 12:29:55 -0700 Subject: [PATCH] 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 --- roles/packages3/bugz.fp.o/files/bugz.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/packages3/bugz.fp.o/files/bugz.conf b/roles/packages3/bugz.fp.o/files/bugz.conf index d6820abfbf..9421314e49 100644 --- a/roles/packages3/bugz.fp.o/files/bugz.conf +++ b/roles/packages3/bugz.fp.o/files/bugz.conf @@ -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]