Handle '+' in querystring
Translate '+' to ' ' in querystring parser (still doesn't handle %xx) Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
732d68d240
Commit
05b13194b4
@ -92,6 +92,8 @@ int cgit_parse_query(char *txt, configfn fn)
|
||||
if (c=='=') {
|
||||
*t = '\0';
|
||||
value = t+1;
|
||||
} else if (c=='+') {
|
||||
*t = ' ';
|
||||
} else if (c=='&') {
|
||||
*t = '\0';
|
||||
(*fn)(txt, value);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren