forked from github/server
!isalnum statt isspace sollte den Parser weniger Anfaellig amchen fuer bekloppte Mailer.
This commit is contained in:
parent
afadc1c262
commit
94c596c388
|
@ -98,7 +98,7 @@ free_orders(order ** olist)
|
||||||
order *
|
order *
|
||||||
parse_order(const char * s, const struct locale * lang)
|
parse_order(const char * s, const struct locale * lang)
|
||||||
{
|
{
|
||||||
while (isspace(*(unsigned char*)s)) ++s;
|
while (!isalnum(*(unsigned char*)s)) ++s;
|
||||||
if (*s==0) return NULL;
|
if (*s==0) return NULL;
|
||||||
else {
|
else {
|
||||||
const char * sptr;
|
const char * sptr;
|
||||||
|
|
Loading…
Reference in New Issue