mirror of
https://git.zx2c4.com/cgit
synced 2025-07-10 02:04:33 +02:00
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)>
This commit is contained in:
parent
05b13194b4
commit
52e605caf5
3 changed files with 36 additions and 0 deletions
2
cgit.h
2
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,...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue