summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a23bab9)
Vertical whitespace is obviously bad, so this is a longstanding bug; but
all whitespace should really be escaped.
DPUTC(d, '+');
break;
default:
DPUTC(d, '+');
break;
default:
- if ((ctx->f & URLF_LAX) || isalnum((unsigned char)*p))
+ if (!isspace((unsigned char)*p) &&
+ ((ctx->f & URLF_LAX) || isalnum((unsigned char)*p)))
goto safe;
else
goto unsafe;
goto safe;
else
goto unsafe;