neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 05b13194b4b40a2614692125d5037ef20c5fb20e
parent 732d68d240b95dc428c92fc94bce9adb8912094e
Author: Lars Hjemli <hjemli@gmail.com>
Date:   Thu, 28 Dec 2006 02:51:46 +0100

Handle '+' in querystring

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

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

Diffstat:
Mparsing.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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);