Cookie name/value confusion in Set-Cookie header #1198

nnposter opened this Issue Apr 25, 2018 · 1 comment


None yet
1 participant

Parser for Set-Cookie header (function parse_set_cookie in http.lua) is currently allowing theoretical cookie attributes named "name" or "value" to stomp over the parsed cookie name or value.

There is no easy way to avoid this potential collision without changing the cookie object structure but it is prudent to enforce that the cookie name and value take priority over these attributes.

(This issue is for record only; a fix is coming.)


This comment has been minimized.

Show comment Hide comment

nnposter Apr 25, 2018

Resolved with r37235 (23d61f5)

Resolved with r37235 (23d61f5)

@nnposter nnposter closed this Apr 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment