Issue 3582: Regular expression search show error: no viable alternative at character '%'
Status:  New
Owner: ----
Cc:
Project Member Reported by zaro0508, Sep 24, 2015

Affected Version:
  * Gerrit 2.8 & 2.10 only on Firefox ver 41.0, does not repro with Firefox ver 39.0
 
What steps will reproduce the problem?
1. Enter the following into the search box:  message:^fix
2. click search

What is the expected output? What do you see instead?
Show all reviews with regular expression search "^fix" in the commit message.  Get an error from the Firefox UI saying no viable alternative at character '%'.  Click on continue to dismiss the error and you'll see that the query actually execute just fine.

Please provide any additional information below.

The '^' from the query is encoded as '%255E', https://review.openstack.org/#/q/project:%255Efix,n,z

It looks like Chrome handles that request fine while firefox barfs.  I've also tried this same query using the exact same Firefox against https://gerrit-review.googlesource.com/ and it works there without errors.

Oct 8, 2015
#2 smulc...@gmail.com
Problem occurs on Firefox 41.0 (on Ubuntu and Windows) and IE11 (on Windows 7)
Oct 8, 2015
#3 i...@ysoft.biz
Hitting same problem here. This can be reproduced live here:
https://review.openstack.org/#/admin/projects

If you type ^ in the search box, it converts automatically to %255E
Oct 8, 2015
#4 smulc...@gmail.com
(reposting with correct url)

Also ocurs with other standard queries e.g.

https://review.openstack.org/#/q/label:verified%252B1,n,z
Nov 2, 2015
Project Member #5 zaro0508
I believe this should fix it in Openstack gerrit: https://review.openstack.org/#/c/236056

Nov 2, 2015
Project Member #6 zaro0508
 Issue 3641  has been merged into this issue.
Cc: zaro0508