diff options
author | Lars Hjemli <larsh@hal-2004.(none)> | 2007-01-05 00:53:03 (JST) |
---|---|---|
committer | Lars Hjemli <larsh@hal-2004.(none)> | 2007-01-05 00:57:00 (JST) |
commit | 52e605caf573fa20fdd4fbac5e1cc69b7740b1f5 (patch) | |
tree | 62c7bfb147f93a850f430185961a89ee51b8470a /cgit.h | |
parent | 05b13194b4b40a2614692125d5037ef20c5fb20e (diff) | |
download | cgit-52e605caf573fa20fdd4fbac5e1cc69b7740b1f5.zip cgit-52e605caf573fa20fdd4fbac5e1cc69b7740b1f5.tar.gz |
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 <larsh@hal-2004.(none)>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -67,6 +67,8 @@ extern void cgit_global_config_cb(const char *name, const char *value); | |||
67 | extern void cgit_repo_config_cb(const char *name, const char *value); | 67 | extern void cgit_repo_config_cb(const char *name, const char *value); |
68 | extern void cgit_querystring_cb(const char *name, const char *value); | 68 | extern void cgit_querystring_cb(const char *name, const char *value); |
69 | 69 | ||
70 | extern int hextoint(char c); | ||
71 | |||
70 | extern void *cgit_free_commitinfo(struct commitinfo *info); | 72 | extern void *cgit_free_commitinfo(struct commitinfo *info); |
71 | 73 | ||
72 | extern char *fmt(const char *format,...); | 74 | extern char *fmt(const char *format,...); |