Closed Bug 696801 Opened 13 years ago Closed 13 years ago

From 7.0.1 version Firefox has problem with URL resolving when there is in URL: localhost and directory with spaces inside it.

Categories

(Firefox :: Address Bar, defect)

7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 690307

People

(Reporter: mati8, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

I have written in adress box:
localhost/big directory/index.php?variable=value


Actual results:

I was redirected to:
http://www.google.pl/search?q=localhost%2Fbig+directory%2Findex.php%3Fvariable%3Dvalue&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a


Expected results:

Since I have Apache server software on my computer it should just open the web page:
localhost/big directory/?index.php?variable=value .


-----
More information that may be helpful to understand this bug:
Firefox 7.01 resolve this kind of URL correctly when directory has no spaces inside, for instance:
localhost/big directory/?index.php?variable=value

Firefox 7.01 resolve this kind of URL correctly when directory have spaces inside but I write it with "http://" at the beginning, for instance:
http://localhost/big directory/index.php?variable=value
-----

It is pretty annoying for programmers.
Former versions of Firefox did not have this bug.
Correction of above written sentence

"
Firefox 7.01 resolve this kind of URL correctly when directory has no spaces inside, for instance:
localhost/big directory/?index.php?variable=value
"

should be:

Firefox 7.01 resolve this kind of URL correctly when directory has no spaces inside, for instance:
localhost/bigdirectory/?index.php?variable=value
Some may think that workaround of this problem is just writing this kind URL always with "http://" at the beginning but it is not good workaround because Firefox 7.0.1 itself cut "http://" beginning after loading page: http://localhost/big directory/index.php?variable=value . That is why when I want load this page one time more with changed value of variable I have to add this "http://" again at the begging of URL. It is pretty annoying.
One time more: correction of above written sentence (by the way: why I may not edit my post above?):

"
Firefox 7.01 resolve this kind of URL correctly when directory has no spaces inside, for instance:
localhost/big directory/?index.php?variable=value
"

should be:

Firefox 7.01 resolve this kind of URL correctly when directory has no spaces inside, for instance:
localhost/bigdirectory/index.php?variable=value
Dup of bug 690307?
Component: General → Location Bar
QA Contact: general → location.bar
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
This is *not* a duplicate. The bugs address different problems. This one is about user input, the other is about clicking/selecting an item in the history.
Still valid in both Firefox 14 and Nightly 17 and I don't think it's a duplicate of bug 690307.

If you are experiencing this bug when editing an existing URL in the address bar (i.e. it had http:// in the beginning when it was entered), setting browser.urlbar.trimURLs to false fixes the issue.
You need to log in before you can comment on or make changes to this bug.