Skip to content

Fix incorrect header filtering

Fix incorrect header filtering

In passthrough mode (DontCache in config) duplicate Host header is sent to server which results in 400 Bad Request response from nginx. This happens due to incorrect string comparison. When string_view is created from .data() it searches for \0 and ignores original size.

Probably fixes debian bug #1023388 and (I hope) salsa issue #14

Merge request reports

Loading