Open Bug 852495 Opened 11 years ago Updated 2 years ago

URL-based authentication with window.location.hash yields page reload

Categories

(Core :: Networking: HTTP, defect, P5)

19 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: pyppe, Unassigned)

Details

(Whiteboard: [necko-would-take])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130307122351

Steps to reproduce:

User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Go to a page requiring basic authentication with a URL that includes the username and password; such as http://user:pwd@mysite.com/foo.html

Change the hash with JavaScript:
window.location.hash = 'bar';



Actual results:

Page reloads.


Expected results:

Location hash should have changed.
Whiteboard: [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.