summaryrefslogtreecommitdiff
path: root/tests/data/test1105
Commit message (Collapse)AuthorAgeFilesLines
* tests: use %TESTNUMBER instead of fixed numberDaniel Stenberg2021-03-191-3/+3
| | | | | | | This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
* tests: fixup several testsFabian Keil2021-02-091-1/+1
| | | | | | | | | | | | | | missing CRs and modified %hostip lib556/test556: use a real HTTP version to make test reuse more convenient make sure the weekday in Date headers matches the date test61: replace stray "^M" (5e 4d) at the end of a cookie with a '^M' (0d) Gets the test working with external proxies like Privoxy again. Closes #6463
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-021-3/+1
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* cookies: support creation-time attribute for cookiesDaniel Gustafsson2018-08-311-1/+1
| | | | | | | | | | | | | | According to RFC6265 section 5.4, cookies with equal path lengths SHOULD be sorted by creation-time (earlier first). This adds a creation-time record to the cookie struct in order to make cookie sorting more deterministic. The creation-time is defined as the order of the cookies in the jar, the first cookie read fro the jar being the oldest. The creation-time is thus not serialized into the jar. Also remove the strcmp() matching in the sorting as there is no lexicographic ordering in RFC6265. Existing tests are updated to match. Closes #2524
* tests: made a couple of prechecks consistent with othersDan Fandrich2017-05-131-1/+1
| | | | | | | | | | Also removed a TODO suggesting caching the precheck results. Tests showed this would save about 0.1 sec on the total test run time on a relatively modern system, an unnoticeable gain at the cost of longer and more complicated code. There would also be a danger that a cached test result would be inappropriately returned, such as when other test dependencies (like environment variables) are different or when the precheck causes side effects (like filesystem changes).
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* cookies: only use full host matches for hosts used as IP addressTim Ruehsen2014-09-101-2/+1
| | | | | | | | | | | By not detecting and rejecting domain names for partial literal IP addresses properly when parsing received HTTP cookies, libcurl can be fooled to both send cookies to wrong sites and to allow arbitrary sites to set cookies for others. CVE-2014-3613 Bug: http://curl.haxx.se/docs/adv_20140910A.html
* tests: specify 'text' mode for some output files in verify sectionYang Tse2013-03-181-1/+1
|
* Add a HOSTIP precheck for tests 31 and 1105Fabian Keil2012-11-191-0/+3
| | | | | They currently only work for 127.0.0.1 which is hardcoded and can't be easily changed.
* cookies: change the URL in the cookie jar file headerDaniel Stenberg2012-07-031-1/+1
|
* - John P. McCaskey posted a bug report that showed how libcurl did wrong whenDaniel Stenberg2009-09-261-2/+1
| | | | | | 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.
* added test 1105 (disabled) - it repeats a cookie path bug we need to fixDaniel Stenberg2009-09-261-0/+64