From 2b081e0ec1e3cb18f5a1410bf534e506acab6f14 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Fri, 26 May 2023 13:10:02 -0400 Subject: [PATCH] bugz.fedoraproject.org: replace %20 with + to fix redirect The backslash-escaped space in 'Fedora EPEL' was replaced with %20 in 6e982da0d4 (bugz.fedoraproject.org: urlescape redirect instead of \, 2023-03-15). Unfortunately, mod_rewrite treats the %2 as a backreference, resulting in the string being 'Fedora0EPEL' which yeilds no results for EPEL bugs. We could possibly use on of the many RewriteRule flags to adjust the handling of backreferences, but using a `+` seems like the simpler option and works just as well in testing. Signed-off-by: Todd Zullinger --- 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 9421314e49..cb01808cb4 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%20EPEL&component=$1 [R,L] +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/ [R,L]