diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-05-08 01:27:15 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-05-08 01:27:15 +0200 |
commit | c27312b4b3f091f2fc189a8aa5c55182a62d4fb5 (patch) | |
tree | 574819d115e37963d83b1955c5ec1ca267762fb7 | |
parent | 366cb1e744ae916a6cb2409bb3cfe359a5b03a4a (diff) | |
download | hittpd-c27312b4b3f091f2fc189a8aa5c55182a62d4fb5.tar.gz hittpd-c27312b4b3f091f2fc189a8aa5c55182a62d4fb5.tar.xz hittpd-c27312b4b3f091f2fc189a8aa5c55182a62d4fb5.zip |
escape # in urls (else potentially HTML anchors)
-rw-r--r-- | hittpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hittpd.c b/hittpd.c index daf2c1f..7b97042 100644 --- a/hittpd.c +++ b/hittpd.c @@ -344,6 +344,7 @@ print_urlencoded(FILE *stream, char *s) case '=': case '&': case '"': + case '#': case '<': case '>': case '%': |