about summary refs log tree commit diff
path: root/users/lukegb
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-29T15·35+0100
committerProfpatsch <mail@profpatsch.de>2021-01-31T11·10+0000
commitf0579313d31ac7fafe0f05ee55ecb305bc1cbe23 (patch)
tree498b2ee7e6daf59ff38aa43ced2fb4bb45bb38b1 /users/lukegb
parentcf3aab3b787acd05d1f15bf6e600c20f3196cb23 (diff)
fix(users/Profpatsch/read-http): actually parse ascii r/2174
There might be exploits since we parsed the headers as utf8 even
though we actually want to interpret them as ASCII.

This fixes it, by using the ascii crate.

Thanks to @sterni for noticing.

Change-Id: I50b6a588d99b34e677cb22968cf0dfd8b331d11c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2457
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/lukegb')
0 files changed, 0 insertions, 0 deletions