varnish / varnish-modules

Collection of Varnish Cache modules (vmods) by Varnish Software
Other
182 stars 86 forks source link

Fix cookie parsing #49

Closed gnosek closed 7 years ago

gnosek commented 7 years ago

sep != '\0' is always true (see if (sep == NULL) above).

If *sep == '\0', the parser will skip over the NUL terminator and keep parsing other headers and the request body looking for cookies.

lkarsten commented 7 years ago

Thanks!

gnosek commented 7 years ago

Thanks for merging :) do you plan a release soon? I'm using 0.9.1 now and I don't know whether I should switch to git master or wait for a release

lkarsten commented 7 years ago

@gnosek I recommend you use git master for now.