Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 582706

Summary: custom_extraperms.cgi doesn't encode + signs in email addresses
Product: Gentoo Infrastructure Reporter: Adam Feldman <np-hardass>
Component: BugzillaAssignee: Bugzilla Admins <bugzilla>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, itumaykin+gentoo
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.gentoo.org/custom_extraperms.cgi
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: custom_extraperms.cgi-use-uri_encode-on-usernames.patch
custom_extraperms.cgi-use-uri_escape-on-usernames.patch

Description Adam Feldman gentoo-dev 2016-05-11 02:43:55 UTC
When clicking on a user who has a + sign in their name, the resultant url contains a + sign. example: https://bugs.gentoo.org/custom_userhistory.cgi?matchstr=bbannier+gentoo_bugs@gmail.com  which is invalid and returns "Bad User!" + signs should be encoded as "%2b"
Comment 1 Adam Feldman gentoo-dev 2016-09-06 01:15:25 UTC
Created attachment 445056 [details, diff]
custom_extraperms.cgi-use-uri_encode-on-usernames.patch

I'm unable to test, but I think this should work.  Shouldn't require any external deps, as dev-perl/URI is already in the dep list for bugzilla.
Comment 2 Adam Feldman gentoo-dev 2016-09-06 01:16:59 UTC
Created attachment 445058 [details, diff]
custom_extraperms.cgi-use-uri_escape-on-usernames.patch

Just rename patch (typo)