Skip Menu |

This queue is for tickets about the CGI-Kwiki CPAN distribution.

Report information
The Basics
Id: 3654
Status: new
Priority: 0/
Queue: CGI-Kwiki

People
Owner: Nobody in particular
Requestors: jc+kwiki [...] unser.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Insufficient Pattern for Email Adresses
Kwiki uses a limited pattern for email addresses when looking for mailto links. According to RFCs 2821/2822 (and the obsolete RFCs 821/822) the local part of an email address can contain much more than just alphanum, dash and dot. I wouldn't expect Kwiki to match every and all quoted strings allowed in the RFCs, but it should at least allow the plus sign which is the default character sendmail allows to tag addresses, so [$ALPHANUM][$WORD\+\-\.]*@ should hopefully work for most people. BTW: the host part @[$WORD][$WORD\-\.]+ might be too permissive, as RFC 2821 explicitely states that "In particular, the underscore character is not permitted." in the host part of an address.