Handle '+' in querystring

Translate '+' to ' ' in querystring parser (still doesn't handle %xx)

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2006-12-28 02:51:46 +01:00
rodič 732d68d240
revize 05b13194b4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání

Zobrazit soubor

@ -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);