summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
732d68d)
Translate '+' to ' ' in querystring parser (still doesn't handle %xx)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
if (c=='=') {
*t = '\0';
value = t+1;
if (c=='=') {
*t = '\0';
value = t+1;
+ } else if (c=='+') {
+ *t = ' ';
} else if (c=='&') {
*t = '\0';
(*fn)(txt, value);
} else if (c=='&') {
*t = '\0';
(*fn)(txt, value);