summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2015-02-27 17:38:19 +0000
committerjca <jca@openbsd.org>2015-02-27 17:38:19 +0000
commit1e5dcc5b5c3d4f35661767ca2d6105ef5df9ba28 (patch)
treea5c2c1a094a2ca73e676ff3d8f041d65e383f56c /lib/libc
parentWhen makewhatis(8) scans a tree, ignore trailing garbage on filenames. (diff)
downloadwireguard-openbsd-1e5dcc5b5c3d4f35661767ca2d6105ef5df9ba28.tar.xz
wireguard-openbsd-1e5dcc5b5c3d4f35661767ca2d6105ef5df9ba28.zip
Fix URL-encoding of characters with the high order bit set.
Before/after: 127.0.0.1 - - [25/Feb/2015:09:39:24 +0100] "GET /h%ff%ffh%ff%ff.dat HTTP/1.0" 404 162 "-" "OpenBSD ftp" 127.0.0.1 - - [25/Feb/2015:09:39:27 +0100] "GET /h%c3%a9h%c3%a9.dat HTTP/1.0" 200 0 "-" "OpenBSD ftp" Additionnally, avoid one case of undefined behaviour with ctype.h. Input from guenther@, ok millert@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions