Issue 3642: Gerrit filer error (forward slash replaced with %)
Status:  New
Owner: ----
Reported by banavath...@gmail.com, Nov 2, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:2.9.1

What steps will reproduce the problem?
1. open gerrit in firefox browser
2. login in 
3. go to project->filter, and in Filter box typing abc/ , as soon as I press / (forward slash) it is replaced with abc%2F and on pressing backspace replaced with abc%252525

What is the expected output? What do you see instead?
Ideally this should show all the branches under abc, it used to work previously and I'm seeing this issue recently


Thanks

Please provide any additional information below.

Nov 23, 2015
#1 bawilson...@gmail.com
Hello, I've experienced the same error, and it is only occurring in the firefox browser.  To expand though, I have noticed a bit more of the behavior and would like to expand on the bug to help determine the cause of it.  It seems that on key press with the filter text box being the focus it scans the string for characters that it believes needs to be escaped and replaces those.  For the specific test if you type a forward slash '/' it is replaced with %2F, then if any other key is pressed the original '%' is replaced with "%25".  This behavior is repeated on every key press.  It is also worth noting that 2F is the hex for the value of '/' in ASCII and 25 is hex for the value of '%' in ASCII.