laminas / laminas-diactoros

PSR HTTP Message implementations
https://docs.laminas.dev/laminas-diactoros/
BSD 3-Clause "New" or "Revised" License
478 stars 62 forks source link

Array cookies not parser properly #7

Open weierophinney opened 4 years ago

weierophinney commented 4 years ago

\Zend\Diactoros\parseCookieHeader does not properly parse array cookies in header:

testCookie[foo]=fooValue; testCookie[bar]=barValue

this should be ok by php doc here in Example # 3 but the parser does not match it

also in closed issue #272


Originally posted by @mposchl at https://github.com/zendframework/zend-diactoros/issues/360

Xerkus commented 1 year ago

Needs tests