summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--parsing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing.c b/parsing.c
index 4d5cc74..1b22fcf 100644
--- a/parsing.c
+++ b/parsing.c
@@ -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);