Closed Bug 778399 Opened 12 years ago Closed 12 years ago

When there is a hash symbol, #, in the address bar, simply clicking on the address bar and pressing enter does not load the page.

Categories

(Firefox :: Address Bar, defect, P2)

14 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: winstonhowes, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:14.0) Gecko/20100101 Firefox/14.0.1 Build ID: 20120713134347 Steps to reproduce: I put a hash symbol, #, in the address bar and pressed enter. Actual results: The page did not load, nor was the request for the page to load fired, so in short nothing happened. Expected results: The page should have loaded.
Severity: normal → major
Component: Untriaged → Location Bar
Keywords: feature, helpwanted
Priority: -- → P2
Severity: major → normal
Keywords: feature, helpwanted
Whiteboard: dupeme
OS: Mac OS X → All
Hardware: x86 → All
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:18.0) Gecko/18.0 Firefox/18.0 If you enter # into the url and press enter, it would load an error with url "http:///#". Since # is not a valid, it thinks the current behavior is correct.
That indeed may load an error. I was referring more to something like http://www.example.com/#foo.
I think this is an intended behavior. For example 1) Go to http://en.wikipedia.org/wiki/HTML 2) Then append '#Attributes' to the address bar, it would go to that section. The same thing happens when you click on a link which contains #.
Yes, this is intended - just adding # to the end of the URL performs anchor-navigation on the current page, and changing that would likely break websites.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Whiteboard: dupeme
Your arguments are right, they just don't have any link with the present bug! (which is a duplicate of bug 673159, with good explanations, and not the opposite).
See Also: → 1766145
You need to log in before you can comment on or make changes to this bug.