cookies: follow-up fix for path checking
The initial fix to only compare full path names were done in commit
04f52e9b4d but found out to be incomplete. This takes should make the
change more complete and there's now two additional tests to verify
(test 31 and 62).
This commit is contained in:
committed by
Daniel Stenberg
parent
9e10963c20
commit
f24dc09d20
@@ -18,6 +18,8 @@ Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure
|
||||
Set-Cookie:ismatch=this ; domain=127.0.0.1; path=/silly/
|
||||
Set-Cookie: overwrite=this ; domain=127.0.0.1; path=/overwrite/
|
||||
Set-Cookie: overwrite=this2 ; domain=127.0.0.1; path=/overwrite
|
||||
Set-Cookie: sec1value=secure1 ; domain=127.0.0.1; path=/secure1/ ; secure
|
||||
Set-Cookie: sec2value=secure2 ; domain=127.0.0.1; path=/secure2/ ; secure=
|
||||
Set-Cookie: sec3value=secure3 ; domain=127.0.0.1; path=/secure3/ ; secure=
|
||||
@@ -94,6 +96,7 @@ Accept: */*
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
.127.0.0.1 TRUE /silly/ FALSE 0 ismatch this
|
||||
.127.0.0.1 TRUE /overwrite FALSE 0 overwrite this2
|
||||
.127.0.0.1 TRUE /secure1/ TRUE 0 sec1value secure1
|
||||
.127.0.0.1 TRUE /secure2/ TRUE 0 sec2value secure2
|
||||
.127.0.0.1 TRUE /secure3/ TRUE 0 sec3value secure3
|
||||
|
||||
Reference in New Issue
Block a user