View Issue Details

IDProjectCategoryView StatusLast Update
0003227unrealircdpublic2007-02-04 00:38
Reportersatmd Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version3.2.6 
Summary0003227: colon(:) isn't a safe separator for /spamfilter user type
DescriptionIPv6 uses colon(:) as separator for its octets, too.
So we cannot assume that nick!ident@host:realname is a safe chose for matching a regex against.

While we probably rarely will get any hit on this bug, I suggest switching to another character as the separator in there, e.g. nick!ident@host realname (space) or nick!ident@host|realname
Steps To ReproduceI guess, this is trivial to accept.
3rd party modules

Activities

satmd

2007-02-03 22:36

reporter   ~0013175

LOL, | isn't that safe either (special meaning in regex).

aquanight

2007-02-04 00:38

reporter   ~0013178

Duplicate of a private bug, which is resolved. Check 3.2*/3.3* CVS: IPv6 IPs are bracketed, ie: nick!user@[0123:4567::89AB:CDEF]:realname.

If you want to avoid the IPv6 :s use this:

^nickpart!userpart@([^\[].*|\[[^\]]+\]):realnamepart$

Issue History

Date Modified Username Field Change
2007-02-03 22:35 satmd New Issue
2007-02-03 22:36 satmd Note Added: 0013175
2007-02-04 00:38 aquanight Note Added: 0013178
2007-02-04 00:38 aquanight Status new => closed
2007-02-04 00:38 aquanight Resolution open => duplicate