Actions
Bug #7364
closedCGI::Cookie.parse can't deal with cookie options
Description
Reproducing steps; reproducing code is needed:
p CGI::Cookie::parse("ASPSESSIONIDSCDRSRTS=HHALOHOBJGJMLPIANNLDOMCJ; path=/")
What you expected:
Cookie hash with cookie name as key and cookie object as value. The 'path' option within the cookie object, not as a cookie name.
What happened (If you have a error log, don't omit it.):
I got a hash with the 'path' option as a cookie name.
{"ASPSESSIONIDSCDRSRTS"=>["HHALOHOBJGJMLPIANNLDOMCJ"], "path"=>["/"]}
Actions
Like0
Like0Like0