Commit Graph

7 Commits

Author SHA1 Message Date
Todd Zullinger
2b081e0ec1 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>
2023-05-26 18:10:03 +00:00
Kevin Fenzi
6e982da0d4 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>
2023-03-15 12:29:55 -07:00
Michel Alexandre Salim
fb42ccf3e6 Make bugz.fedoraproject.org display all open bugs for a package
Currently it's configured to show NEW, ASSIGNED, and ON_QA bugs.

However:
- this misses pending Bodhi updates, which have bugs set to MODIFIED
- approved but not built package reviews are often set to POST

For simplicity, just show all open bugs with `__open__`.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2022-04-03 17:50:13 +00:00
Kevin Fenzi
0dea991f21 proxies: Try and correct the bugz url to show Fedora EPEL right
Seems if you use a %20 for a space in the Redirect url it will just pass
that on and not urldecode it. So, try and just \ the space and see if
that works better.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-05 17:13:28 -07:00
Francois Andrieu
798bf46c82 bugz: include ON_QA status in redirect
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-07-31 14:05:18 +02:00
Kevin Fenzi
ce63d5f3ea bugz: Try and redirect this to bugzilla for now since we have no packages app. 2020-07-29 13:51:14 -07:00
Ralph Bean
927bea9201 Make a copy of the packages/ role to mess with in staging. 2015-11-17 15:47:44 +00:00