Closed Bug 283941 Opened 19 years ago Closed 19 years ago

Backslash in URL leads to 404

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 64488

People

(Reporter: shai_meir, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

A URL containing a forward slash is not parsed correctly and is leading to a 404
error, while changins the forward slash to backslash solves the problem.
change this URL:
http://www.ma.huji.ac.il/~azriel/SetTheory/Text\sets1.pdf
to
http://www.ma.huji.ac.il/~azriel/SetTheory/Text/sets1.pdf

solves the problem.

Reproducible: Always
Your report makes more sense if you use the word 'backslash' to represent
the symbol '\'.

You are probably getting the 404 error because the URL in question
is not found on the server www.ma.huji.ac.il .

You might want to read Bug 176312 "Windows backslash file separator not 
recognized"

Changed Summary word forward slash to backslash
Summary: Forward slash in URL leads to 404 → Backslash in URL leads to 404
-> invalid

a backslash must be escaped in a URL a Mozilla does this (see RFC RFCs (2396).
Only the webserver reports a 404 but that's not Mozilla's problem

I may work in IE but IE violates the RFC
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---

*** This bug has been marked as a duplicate of 64488 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.