Open Bug 376535 Opened 18 years ago Updated 2 years ago

changing part of data URL after # (hash) character doesn't load new page

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

Details

Even though data URLs (URIs?) don't treat "#" as the start of a named anchor, changing the part of a data URI after a # causes us not to load the new page. I actually ran into this while using data: URLs with HTML character entities while filing bug 376532 and bug 376534, but my testcases use text/plain data URLs to make the testcases easier to understand. Steps to reproduce: 1. enter data:text/plain,a#b in the URL bar and press enter 2. modify the "b" in the URL bar to be a "c" and press enter Expected results: 1. "a#b" displayed 2. "a#c" displayed Actual results: 1. as expected 2. "a#b" still displayed If you change a part of the URL before the hash character, the display updates. Note that shift-reload after (2) causes the display to update, but then pressing back still shows "a#c" rather than "a#b". Bug is present in: Linux Firefox 1.0.8 Linux SeaMonkey 1.0.1 Linux Firefox 2.0.0.3 Linux Firefox trunk nightly 2007-04-01 Linux Firefox debug build, evening of 2007-04-03 (although I was testing the HTML entities version of the testcase in most of them) Not entirely sure what the right component is here, but guessing docshell.
See bug 225910. It's really not clear what the "right" behavior here is... :(
Depends on: 225910
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.