Closed
Bug 261606
Opened 20 years ago
Closed 20 years ago
chatzilla fails to recognize encoded irc url if encoding uses capital letters
Categories
(Other Applications :: ChatZilla, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: brewthatistrue, Assigned: rginda)
References
()
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20040911 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20040911 Firefox/0.10
Unsafe characters must be encoded in urls, according to
http://www.faqs.org/rfcs/rfc1738.html (referenced in
http://www.w3.org/Addressing/draft-mirashi-url-irc-01.txt )
A url with capital letters will fail, but one with lowercase letters will succeed.
e.g.
fails - irc://moznet/%5Btest%5D
succeeds - irc://moznet/%5btest%5d
using Chatzilla 0.9.64g [Mozilla rv:1.7.3/20040911]
Reproducible: Always
Steps to Reproduce:
1. Click a url with uppercase characters used to encode unsafe characters
specifically, irc://moznet/%5Btest%5D
Actual Results:
chatzilla opens a window.
In the "Title" area in the middle of the new window some characters are
displayed as boxes. i will represent them with the word "BOX" including quotes.
#"box"Btest"box"D
[INFO] Channel view for “#[\0x05]Btest[\0x05]D” opened.
-->| YOU have joined #[\0x05]BTEST[\0x05]D
(note, the backslashes and brackets do not copy and paste, so I typed them in).
Expected Results:
#[test]
[INFO] Channel view for “#[test]” opened.
-->| YOU have joined #[test]
Reporter | ||
Updated•20 years ago
|
Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
Long-standing bug, I've known about it for ages... simply needs an 'i' flag on
the RegExp on line 263 here:
http://lxr.mozilla.org/mozilla/source/extensions/irc/js/lib/utils.js#259
Updated•20 years ago
|
Product: Core → Other Applications
Comment 3•20 years ago
|
||
Oops, fixed this in another bug. :) (bug 233352)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•