http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5006





------- Additional Comments From [EMAIL PROTECTED]  2006-07-24 18:35 -------
(In reply to comment #4)
> Should "if ($nuri =~ m{^(https?://)([^/]+?)((?::\d+)?\/.*)?$}i) {" use a "\d*"
> instead of a "\d+" ?
> 
> Thunderbird will default to port 80 if you include the colon but omit the
> digits.  I haven't tried any other MUAs.

Hrm.  I could go with \d* if others agree.  I'm also wondering if we should
handle that above in the function and do something like:

# remove extra colon http://host:/
[EMAIL PROTECTED](http://[^/:]+):(\D|$)@$1$2@;

or

# convert non-specified port to 80
[EMAIL PROTECTED](http://[^/:]+):(\D|$)@$1:80$2@;

?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to