Closed Bug 279904 Opened 20 years ago Closed 20 years ago

URLs with backward slash generating invalid links - %5C - '\' - '/'

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 64488

People

(Reporter: carnatic.wm, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050125 Firefox/1.0+

HTML containing URLs with backward slash are generated as invalid links

IE seems to generate correctly while Firefox & Mozilla not !

Visit http://www.carnatic.com/2005/200501/20050126/ to see a demo - View page
with IE and Firefox to see the difference in the URLs generated

Reproducible: Always

Steps to Reproduce:
cut and paste the following codes to a html page and see for yourself

---

<a href="/2005/200501/20050126/001.php">001.php</a> >>> generates
/2005/200501/20050126/001.php >>> as expected

<a href="\2005\200501\20050126\002.php">002.php</a> >>> generates
/2005/200501/20050126/\2005\200501\20050126\002.php >>> Not expected !

---

Actual Results:  
invalid links are generated

Expected Results:  
valid links - like IE

Have read  Uniform Resource Identifiers (URI): Generic Syntax (
http://www.ietf.org/rfc/rfc2396.txt - linked from http://www.w3.org/Addressing/)
and there is no mention about backward slash

It only states "...URI that are hierarchical in nature use the slash "/"
character for separating hierarchical components..."

However, if IE is generating __as expected__... Firefox should probably too
Do note that I did search for bugs... I searched for 'slash' and found nothing

I am adding "%5C ('\')" to the Summary of this bug report so that others like me
might find it (the cross-reference) easily in the future

an advanced search: summary contains all of the words/strings : "slash %5c"

https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=slash+%255c&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&resolution=DUPLICATE&resolution=---&emailassigned_to1=1&emailtype1=exact&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailtype2=exact&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=

returns "Zarro Boogs found."
Summary: URLs with backward slash generating invalid links → URLs with backward slash generating invalid links - %5C - '\' - '/'
use "backslash" as search term ...
BTW: in this case is IE wrong ...
Status: RESOLVED → VERIFIED
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---

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