0xf104a / MeowMeow

Tiny webserver written in erlang
MIT License
2 stars 0 forks source link

[request parsing] Host header is incorrectly passed to the rules handler #5

Closed 0xf104a closed 3 years ago

0xf104a commented 3 years ago

Rules handler receives host header with space before it. Instead leading space should be removed. Example: Request contains Host: example.org, so rules handler get " example.org" instead of "example.org"

0xf104a commented 3 years ago

The same seems to be true about all other headers.