[prev in list] [next in list] [prev in thread] [next in thread]
List: dcms-dev
Subject: [opencm-dev] regex
From: Elin Sergey <SElin () protek ! com>
Date: 2002-11-05 13:12:01
[Download RAW message or body]
Hi,
I just look into opencm.c and saw folowing:
if (strchr(email, '@') == NULL)
THROW(ExBadValue, "Invalid email address in certificate.");
In my opinion, such check is not absolutely correct, as the user can is
deliberate whether or not write two or more signs "@" and such address will
be true from the point of view of check. There can be a best way here -
usage of regex library?
Best regards,
Elin Sergey,
Software Engineer
_______________________________________________
opencm-dev mailing list
opencm-dev@smtp.opencm.org
http://www.opencm.org/mailman/listinfo/opencm-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic