Closed Bug 371956 Opened 18 years ago Closed 18 years ago

Problems with linkification of channel names

Categories

(Other Applications Graveyard :: ChatZilla, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: Gijs)

References

()

Details

(Whiteboard: [cz-0.9.78])

Attachments

(1 file)

1.39 KB, patch
bugzilla-mozilla-20000923
: review+
Details | Diff | Splinter Review
Channel names should only be linkified if the string starts with a #. Right now something like @#foo gets linkified. Also, channel names can't contain commas according to RFC 1459.
Please don't change the assignee without CC-ing the default. It means a number of people don't get bugmail, which sucks.
Severity: normal → enhancement
Status: NEW → ASSIGNED
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Attached patch PatchSplinter Review
Might as well. This also makes it slightly more loose so it'll match if there's a % in front (halfops?). It actually looks like that works already, though I don't quite understand why. It needs to work with @ in front because that means "op", and because ! counts as a nonword char (\W), it matched bsmedberg's cursing (!@#$%^& or whatever it was). So yeah. Not much we can do here. #$%^ is an entirely legit channel name, I think. Moznet didn't seem to have a problem with it, anyway
Attachment #256904 - Flags: review?(silver)
Comment on attachment 256904 [details] [diff] [review] Patch Took me 3 goes reading this patch to spot the additional "," in the regexp. :) r=silver
Attachment #256904 - Flags: review?(silver) → review+
Checking in mozilla/extensions/irc/xul/content/mungers.js; /cvsroot/mozilla/extensions/irc/xul/content/mungers.js,v <-- mungers.js new revision: 1.2; previous revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.78]
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: