Closed
Bug 1267160
Opened 9 years ago
Closed 9 years ago
Typing a "\" in the URL bar can cause the dropdown text to display incorrectly
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1233672
People
(Reporter: u569735, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160315153207
Steps to reproduce:
This bug can be reproduced easily with the following steps.
1. Type a URL into the address/search bar, including the forward slash at the end
2. Type a backslash after it.
This will only occur in certain situations, listed below (not extensively, there may be more):
* example.com/\
* example.com/alphabeticalcharacters\
* example.com/123456789\
* example.com/most symbols too !@$%^&*(){}|\"';:<>,.\
* example./\
It does not occur with:
* example.com/
* example.com\
* example.com/\\
* example.com/#\ (or any thing that contains a #, e.g. example.com/abcd#efg\)
* example.com/?\ (same as above, example.com/abc?\ doesn't trigger the bug)
* .com/\ (only happens with something before a dot)
* /\
The pattern that I can see seems to be:
a string containing either an alphabetical char or a . symbol, no other symbols work
before a . character
something can be here, but doesn't have to be
then a / character
again, anything can be here
then a \ character
finally, anything can even be after the backslash
Seemingly, a single ? or a # anywhere in the URL prevents the bug from triggering.
Whoops. Intereestingly I just found that they don't do so if types after the backslash. e.g. "example.com/?\" bugs out, but"example.com/\?" works normally.
Actual results:
when typing example.com/\
The URL bar dropdown (activated by typing or pressing the Down arrow) displays
Visit {"url":"http://example.com/\","input":"example.com/\\"}
Expected results:
The bar should display
Visit http://example.com/\
Forgot to include in the post: I can't remember exactly, but I remember seeing this bug a while ago (Update 42 or 43). Also, I can still reproduce it in Safe mode.
This is on a 32-bit Windows 8.1 laptop with Firefox 45.0.1.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•