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)

x86
Windows 98
defect
Not set
normal

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]
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
Product: Core → Other Applications
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.

Attachment

General

Creator:
Created:
Updated:
Size: