Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582706 - custom_extraperms.cgi doesn't encode + signs in email addresses
Summary: custom_extraperms.cgi doesn't encode + signs in email addresses
Status: CONFIRMED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bugzilla Admins
URL: https://bugs.gentoo.org/custom_extrap...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-05-11 02:43 UTC by Adam Feldman
Modified: 2017-08-05 14:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
custom_extraperms.cgi-use-uri_encode-on-usernames.patch (0001-custom_extraperms.cgi-use-uri_encode-on-usernames.patch,1.59 KB, patch)
2016-09-06 01:15 UTC, Adam Feldman
Details | Diff
custom_extraperms.cgi-use-uri_escape-on-usernames.patch (0001-custom_extraperms.cgi-use-uri_escape-on-usernames.patch,1.59 KB, patch)
2016-09-06 01:16 UTC, Adam Feldman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)