summaryrefslogtreecommitdiff
path: root/tests/data/test1218
Commit message (Collapse)AuthorAgeFilesLines
* test1218: adjusted for hyper modeDaniel Stenberg2021-06-101-1/+1
| | | | Closes #7209
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-4/+4
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-3/+3
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* tests: use proxy featureMarcel Raad2019-10-151-0/+3
| | | | | | This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
* Revert "Proxy-Connection: stop sending this header by default"Daniel Stenberg2016-08-161-0/+3
| | | | This reverts commit 113f04e664b16b944e64498a73a4dab990fe9a68.
* cookies: first n/v pair in Set-Cookie: is the cookie, then parametersDaniel Stenberg2016-03-101-1/+1
| | | | | | | | | | | | | | | | | | | RFC 6265 section 4.1.1 spells out that the first name/value pair in the header is the actual cookie name and content, while the following are the parameters. libcurl previously had a more liberal approach which causes significant problems when introducing new cookie parameters, like the suggested new cookie priority draft. The previous logic read all n/v pairs from left-to-right and the first name used that wassn't a known parameter name would be used as the cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be a cookie named 'person' while an RFC 6265 compliant parser should consider that to be a cookie named 'Max-Age' with an (unknown) parameter 'person'. Fixes #709
* Proxy-Connection: stop sending this header by defaultDaniel Stenberg2016-02-081-3/+0
| | | | | | | | | RFC 7230 says we should stop. Firefox already stopped. Bug: https://github.com/curl/curl/issues/633 Reported-By: Brad Fitzpatrick Closes #633
* test1218: another cookie tailmatch testDaniel Stenberg2013-04-111-0/+61
... and make 1216 also verify it with a file input These tests verify commit 3604fde3d3c9b0d, the fix for the "cookie domain tailmatch" vulnerability. See http://curl.haxx.se/docs/adv_20130412.html