From 52e605caf573fa20fdd4fbac5e1cc69b7740b1f5 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Thu, 4 Jan 2007 16:53:03 +0100 Subject: Handle %xx encoding in querystring Convert valid %xx expressions in querystring to ascii, ignore invalid expressions (i.e. eat the three characters %xx). Signed-off-by: Lars Hjemli --- cgit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 249650e..eb8f08c 100644 --- a/cgit.h +++ b/cgit.h @@ -67,6 +67,8 @@ extern void cgit_global_config_cb(const char *name, const char *value); extern void cgit_repo_config_cb(const char *name, const char *value); extern void cgit_querystring_cb(const char *name, const char *value); +extern int hextoint(char c); + extern void *cgit_free_commitinfo(struct commitinfo *info); extern char *fmt(const char *format,...); -- cgit v1.2.3-59-g8ed1b