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 <tmz@pobox.com>
This commit is contained in:
parent
a780dc21a1
commit
2b081e0ec1
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteMap lowercase int:tolower
|
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]
|
RewriteRule ^/$ https://bugzilla.redhat.com/ [R,L]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue