severity 407819 wishlist tag 407819 wontfix thanks On Sun, 21 Jan 2007, Matt Kraai wrote: > If an email to the BTS contains a URL followed by a semicolon (see > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381576, for example), > the semicolon is included in the link, causing it to fail. > > I think that if a URL is followed by punctuation, the punctuation > should not be treated as part of the URL.
Unfortunatly, a semicolon is a perfectly valid thing to have in a URL, even to end an URL with. The link marking regex is definetly not infallible, but it tries it's best. You're welcome to suggest a more complete one than the current implementation: $body =~ s,((ftp|http|https)://[\S~-]+?/?)((\>\;)?[)]?[']?[:.\,]?(\s|$)),<a href=\"$1\">$1</a>$3,go; Don Armstrong -- A people living under the perpetual menace of war and invasion is very easy to govern. It demands no social reforms. It does not haggle over expenditures on armaments and military equipment. It pays without discussion, it ruins itself, and that is an excellent thing for the syndicates of financiers and manufacturers for whom patriotic terrors are an abundant source of gain. -- Anatole France http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

