Andrey Feldman wrote:
Think it's a bug.
otrs/Kernel/System/CheckItem.pm:
--- CheckItem.pm.orig 2008-01-18 13:21:40.897753856 +0300
+++ CheckItem.pm 2008-01-18 13:21:48.478601392 +0300
@@ -61,7 +61,7 @@
}
my $Error = '';
# email address syntax check
- if ($Param{Address} !~ /^(()|([a-zA-Z0-9]+([a-zA-Z0-9_+\.&%-]*[a-
zA-Z0-9_'\.-]+)?@([a-zA-Z0-9]+([a-zA-Z0-9\.-]*[a-zA-Z0-9]+)?\.+[a-zA-
Z]{2,8}|\[\d+\.\d+\.\d+\.\d+])))$/) {
+ if ($Param{Address} !~ /^(()|([a-zA-Z0-9_]+([a-zA-Z0-9_+\.&%-]*[a-
zA-Z0-9_'\.-]+)?@([a-zA-Z0-9]+([a-zA-Z0-9\.-]*[a-zA-Z0-9]+)?\.+[a-zA-
Z]{2,8}|\[\d+\.\d+\.\d+\.\d+])))$/) {
$Error = "Invalid syntax";
}
Looking at http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html the
above regex probably still isn't 100% RFC 822 compliant. :o) But it
just might fix the error on the leading underscore.
Nils Breunese.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/