Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Keep every control byte out of a header value
A quoted header value escaped only the quote, the backslash, CR and LF. A web server refuses a response whose header holds any other control byte, so a file named with one could not be downloaded at all.
-rw-r--r--source/html.c4
-rwxr-xr-xtests/t0105-plain.sh14
2 files changed, 18 insertions, 0 deletions