Closed
Bug 798871
Opened 12 years ago
Closed 12 years ago
URL with apostrophe (no TLD) goes to google instead of the webserver
Categories
(Firefox :: Address Bar, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 690307
People
(Reporter: michael.billington, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1
Build ID: 20120907231835
Steps to reproduce:
Entered a URL on localhost containing apostrophe, eg:
http://localhost/joe's_page/
After loading (does not matter whether the page exists), firefox shortens the address bar to:
localhost/joe's_page/
Page can be reloaded with F5/Refresh key, but clicking on the address bar and then hitting return (or copy-pasting / typing it elsewhere) does not act as expected.
Actual results:
Does not realise that the shortened URL is a URL at all, and googles "localhost/joe's_page/" instead of loading the page.
Only affects URLs without a TLD -- If I "echo 127.0.0.1 localhost.localdomain >> /etc/hosts" and repeat (with http://localhost.localdomain/joe's_page/ ) then everything works just fine.
On the other hand, the non-localhost http://foobox/joe%27s_page/ (note escaped apostrophe), automatically has its apostrophe un-escaped and http:// removed, so hitting enter takes you to google as with the first example.
Expected results:
I would expect selecting the address bar and hitting return to reload page that you are already on, regardless of whether there are any dots in the URL.
Updated•12 years ago
|
Component: Untriaged → Location Bar
Comment 1•12 years ago
|
||
this is a dupe of bug 690307
A Space and a apostrophe are both reserved chars
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•