Open Bug 367076 Opened 18 years ago Updated 2 years ago

"View Page Source" does not work correctly with application/http-index-format -files.

Categories

(Core :: General, defect)

defect

Tracking

()

People

(Reporter: toni.ruottu, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070115 Minefield/3.0a2pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070115 Minefield/3.0a2pre

Viewing "page source" of application/http-index-format -files fails because Firefox alters the (source)file url.

Reproducible: Always

Steps to Reproduce:
1.Create an application/http-index-format -file
2.Configure a web server to send that file on request with the mime-type
application/http-index-format
3.Surf to the file
4.Try to view the source
Actual Results:  
Firefox alters the page url by adding an extra /-symbol at the end. Retrieval fails as the altered url doesn't point to the correct file.

Expected Results:  
Firefox should not create problems by alter the url without a reason.
Confirmed with provided URL - source shows 404 with extra slash on the end

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070115 Minefield/3.0a2pre ID:2007011505 [cairo]
Marking confirmed per previous comment.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
The bug is still there in SeaMonkey 2.7 and Firefox Nightly. As a workaround, if in the Source window you click a link on the HTML source of the "404 Not Found" page, and then use the keyboard to go back (e.g. Alt+Left arrow), then the Source window correctly shows the text contents of the http-index-format file (lines starting 300/201/200).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.