mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:33:38 +03:00
- John P. McCaskey posted a bug report that showed how libcurl did wrong when
saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem.
This commit is contained in:
parent
8d39a31e89
commit
4f47fc4e14
5 changed files with 43 additions and 8 deletions
|
|
@ -5,4 +5,4 @@
|
|||
# Lines starting with '#' letters are treated as comments.
|
||||
563
|
||||
564
|
||||
1105
|
||||
|
||||
|
|
|
|||
|
|
@ -55,10 +55,9 @@ userid=myname&password=mypassword
|
|||
# http://curl.haxx.se/rfc/cookie_spec.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
|
||||
127.0.0.1 FALSE /we/want FALSE 0 foobar name
|
||||
127.0.0.1 FALSE /we/want/ FALSE 0 foobar name
|
||||
.127.0.0.1 TRUE "/silly/" FALSE 0 mismatch this
|
||||
.0.0.1 TRUE / FALSE 0 partmatch present
|
||||
|
||||
</file>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue