I've got en emailaddress with an & (ampersand) in it. It is processed by spamspan but the characters before the & are not considered part of the emailaddress.
So for example "res&dev@example.com" is going to be processed as "dev@example.com" by spamspan.
I've tried adding an & to the SPAMSPAN_EMAIL constant in the .module file but that didn't help...

CommentFileSizeAuthor
#1 spamspan-906474.patch516 bytesweseze

Comments

weseze’s picture

Status: Active » Needs review
StatusFileSize
new516 bytes

found the problem, this patch fixes it.

iantresman’s picture

According to the article on Wikipedia, based on RFC 5322 and by RFC 5321,

The local-part of the e-mail address may use any of these ASCII characters:

    * Uppercase and lowercase English letters (a–z, A–Z)
    * Digits 0 to 9
    * Characters ! # $ % & ' * + - / = ? ^ _ ` { | } ~
    * Character . (dot, period, full stop) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively (e.g. John..Doe@example.com).

A quick test shows that SpamSpan appears to fail if the following characters are included in the local part of an email address:
! # $ % & ' * / = ? ` { | }

The following are handled correctly: + - ^ _

lakka’s picture

Fixed in 6--1.5. Thanks

lakka’s picture

Status: Needs review » Closed (fixed)