zlopez / fedora-infra / ansible

Forked from fedora-infra/ansible 2 years ago
Clone

2b081e0 bugz.fedoraproject.org: replace %20 with + to fix redirect

1 file Authored by tmz a year ago, Committed by kevin a year ago,
    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>