<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/tests/data/test31, branch master</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>tests: allow tests to pass by 2037-02-12</title>
<updated>2019-01-08T09:36:49+00:00</updated>
<author>
<name>Bernhard M. Wiedemann</name>
<email>bwiedemann@suse.de</email>
</author>
<published>2019-01-07T15:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=114a02c75b702e98abf6328271bc76863c67b931'/>
<id>114a02c75b702e98abf6328271bc76863c67b931</id>
<content type='text'>
similar to commit f508d29f3902104018

Closes #3443
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
similar to commit f508d29f3902104018

Closes #3443
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: leave secure cookies alone</title>
<updated>2018-12-13T08:57:58+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2018-12-13T08:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=7a09b52c98ac8d840a8a9907b1a1d9a9e684bcf5'/>
<id>7a09b52c98ac8d840a8a9907b1a1d9a9e684bcf5</id>
<content type='text'>
Only allow secure origins to be able to write cookies with the
'secure' flag set. This reduces the risk of non-secure origins
to influence the state of secure origins. This implements IETF
Internet-Draft draft-ietf-httpbis-cookie-alone-01 which updates
RFC6265.

Closes #2956
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only allow secure origins to be able to write cookies with the
'secure' flag set. This reduces the risk of non-secure origins
to influence the state of secure origins. This implements IETF
Internet-Draft draft-ietf-httpbis-cookie-alone-01 which updates
RFC6265.

Closes #2956
Reviewed-by: Daniel Stenberg &lt;daniel@haxx.se&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: support creation-time attribute for cookies</title>
<updated>2018-08-31T12:11:37+00:00</updated>
<author>
<name>Daniel Gustafsson</name>
<email>daniel@yesql.se</email>
</author>
<published>2018-08-28T09:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=e2ef8d6fa11b2345e10b89db525920f2a0d5fd79'/>
<id>e2ef8d6fa11b2345e10b89db525920f2a0d5fd79</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: made a couple of prechecks consistent with others</title>
<updated>2017-05-13T17:12:22+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>dan@coneharvesters.com</email>
</author>
<published>2017-05-13T17:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=fa0ac3f4d9ca095c33bca62ba2f64c95e3c3456a'/>
<id>fa0ac3f4d9ca095c33bca62ba2f64c95e3c3456a</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>URLs: change all http:// URLs to https://</title>
<updated>2016-02-02T23:19:02+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-02-02T23:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=4af40b3646d3b09f68e419f7ca866ff395d1f897'/>
<id>4af40b3646d3b09f68e419f7ca866ff395d1f897</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cookie: handle spaces after the name in Set-Cookie</title>
<updated>2015-04-01T21:25:29+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2015-04-01T21:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=2685041a5c285968696de639699fb39a0fdf8c69'/>
<id>2685041a5c285968696de639699fb39a0fdf8c69</id>
<content type='text'>
"name =value" is fine and the space should just be skipped.

Updated test 31 to also test for this.

Bug: https://github.com/bagder/curl/issues/195
Reported-by: cromestant
Help-by: Frank Gevaerts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"name =value" is fine and the space should just be skipped.

Updated test 31 to also test for this.

Bug: https://github.com/bagder/curl/issues/195
Reported-by: cromestant
Help-by: Frank Gevaerts
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: only use full host matches for hosts used as IP address</title>
<updated>2014-09-10T05:32:36+00:00</updated>
<author>
<name>Tim Ruehsen</name>
<email>tim.ruehsen@gmx.de</email>
</author>
<published>2014-08-19T19:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=8a75dbeb2305297640453029b7905ef51b87e8dd'/>
<id>8a75dbeb2305297640453029b7905ef51b87e8dd</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>cookies: follow-up fix for path checking</title>
<updated>2013-06-12T09:19:56+00:00</updated>
<author>
<name>YAMADA Yasuharu</name>
<email>yasuharu.yamada@access-company.com</email>
</author>
<published>2013-06-12T09:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=f24dc09d209a2f91ca38d854f0c15ad93f3d7e2d'/>
<id>f24dc09d209a2f91ca38d854f0c15ad93f3d7e2d</id>
<content type='text'>
The initial fix to only compare full path names were done in commit
04f52e9b4db0 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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initial fix to only compare full path names were done in commit
04f52e9b4db0 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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a HOSTIP precheck for tests 31 and 1105</title>
<updated>2012-11-19T09:58:14+00:00</updated>
<author>
<name>Fabian Keil</name>
<email>fk@fabiankeil.de</email>
</author>
<published>2012-11-18T13:55:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=276452ca1096c40c886eee3ea461d462b7bcdadc'/>
<id>276452ca1096c40c886eee3ea461d462b7bcdadc</id>
<content type='text'>
They currently only work for 127.0.0.1 which
is hardcoded and can't be easily changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They currently only work for 127.0.0.1 which
is hardcoded and can't be easily changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use carriage returns in all headers in test 31</title>
<updated>2012-11-19T09:58:14+00:00</updated>
<author>
<name>Fabian Keil</name>
<email>fk@fabiankeil.de</email>
</author>
<published>2012-11-16T12:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=10296ac66565edcfac680e7c2177557893230500'/>
<id>10296ac66565edcfac680e7c2177557893230500</id>
<content type='text'>
Trailing spaces were left unmodifed, assuming they were intentional.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trailing spaces were left unmodifed, assuming they were intentional.
</pre>
</div>
</content>
</entry>
</feed>
