<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/tests, branch bagder/test493-https</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>test 493: require https in curl to run</title>
<updated>2021-04-20T07:38:31+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-20T07:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e2f8d4bf69deeac781a737f7ae09d3f23cd8e7f7'/>
<id>e2f8d4bf69deeac781a737f7ae09d3f23cd8e7f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>urlapi: "normalize" numerical IPv4 host names</title>
<updated>2021-04-19T06:34:55+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-19T06:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=56a037cc0ad1b2a770d0c08d3d09dee1ce600f0f'/>
<id>56a037cc0ad1b2a770d0c08d3d09dee1ce600f0f</id>
<content type='text'>
When the host name in a URL is given as an IPv4 numerical address, the
address can be specified with dotted numericals in four different ways:
a32, a.b24, a.b.c16 or a.b.c.d and each part can be specified in
decimal, octal (0-prefixed) or hexadecimal (0x-prefixed).

Instead of passing on the name as-is and leaving the handling to the
underlying name functions, which made them not work with c-ares but work
with getaddrinfo, this change now makes the curl URL API itself detect
and "normalize" host names specified as IPv4 numericals.

The WHATWG URL Spec says this is an okay way to specify a host name in a
URL. RFC 3896 does not allow them, but curl didn't prevent them before
and it seems other RFC 3896-using tools have not either. Host names used
like this are widely supported by other tools as well due to the
handling being done by getaddrinfo and friends.

I decided to add the functionality into the URL API itself so that all
users of these functions get the benefits, when for example wanting to
compare two URLs. Also, it makes curl built to use c-ares now support
them as well and make curl builds more consistent.

The normalization makes HTTPS and virtual hosted HTTP work fine even
when curl gets the address specified using one of the "obscure" formats.

Test 1560 is extended to verify.

Fixes #6863
Closes #6871
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the host name in a URL is given as an IPv4 numerical address, the
address can be specified with dotted numericals in four different ways:
a32, a.b24, a.b.c16 or a.b.c.d and each part can be specified in
decimal, octal (0-prefixed) or hexadecimal (0x-prefixed).

Instead of passing on the name as-is and leaving the handling to the
underlying name functions, which made them not work with c-ares but work
with getaddrinfo, this change now makes the curl URL API itself detect
and "normalize" host names specified as IPv4 numericals.

The WHATWG URL Spec says this is an okay way to specify a host name in a
URL. RFC 3896 does not allow them, but curl didn't prevent them before
and it seems other RFC 3896-using tools have not either. Host names used
like this are widely supported by other tools as well due to the
handling being done by getaddrinfo and friends.

I decided to add the functionality into the URL API itself so that all
users of these functions get the benefits, when for example wanting to
compare two URLs. Also, it makes curl built to use c-ares now support
them as well and make curl builds more consistent.

The normalization makes HTTPS and virtual hosted HTTP work fine even
when curl gets the address specified using one of the "obscure" formats.

Test 1560 is extended to verify.

Fixes #6863
Closes #6871
</pre>
</div>
</content>
</entry>
<entry>
<title>hsts: enable by default</title>
<updated>2021-04-19T06:22:16+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-08T07:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d71ff2b9db566b3f4b2eb29441c2df86715d4339'/>
<id>d71ff2b9db566b3f4b2eb29441c2df86715d4339</id>
<content type='text'>
No longer considered experimental.

Closes #6700
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer considered experimental.

Closes #6700
</pre>
</div>
</content>
</entry>
<entry>
<title>test972: verify the json output with jsonlint</title>
<updated>2021-04-17T09:03:40+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-16T21:53:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=6fc805d0c1f82363836f1c6199cebdd3c41cbc5b'/>
<id>6fc805d0c1f82363836f1c6199cebdd3c41cbc5b</id>
<content type='text'>
Make sure one of the azure jobs has jsonlint installed so that the test
runs there.

Ref: #6905
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure one of the azure jobs has jsonlint installed so that the test
runs there.

Ref: #6905
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_writeout: fix the HTTP_CODE json output</title>
<updated>2021-04-17T09:03:30+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2021-04-16T22:34:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=2f78be51ebe8578bce5469924cedf7ac8bc06a85'/>
<id>2f78be51ebe8578bce5469924cedf7ac8bc06a85</id>
<content type='text'>
Update test 970 accordingly.

Reported-by: Michal Rus
Fixes #6905
Closes #6906
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update test 970 accordingly.

Reported-by: Michal Rus
Fixes #6905
Closes #6906
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_getparam: replace (in-place) '%20' by '+' according to RFC1866</title>
<updated>2021-04-15T11:45:12+00:00</updated>
<author>
<name>Victor Vieux</name>
<email>victorvieux@gmail.com</email>
</author>
<published>2021-04-15T04:45:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0d7c55bd57ffd5fedb5862e123673d35704b58ac'/>
<id>0d7c55bd57ffd5fedb5862e123673d35704b58ac</id>
<content type='text'>
Signed-off-by: Victor Vieux &lt;victorvieux@gmail.com&gt;

Closes #6895
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Victor Vieux &lt;victorvieux@gmail.com&gt;

Closes #6895
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: provide --with-openssl, deprecate --with-ssl</title>
<updated>2021-04-15T07:08:34+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-13T16:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7bdec2a08bf025d2f66c168111d47df6b21890d9'/>
<id>7bdec2a08bf025d2f66c168111d47df6b21890d9</id>
<content type='text'>
Makes the option more explicit.

Closes #6887
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes the option more explicit.

Closes #6887
</pre>
</div>
</content>
</entry>
<entry>
<title>cookie: CURLOPT_COOKIEFILE set to NULL switches off cookies</title>
<updated>2021-04-14T21:09:36+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-04-14T07:15:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=520bd5225c70a5c4cceee08f1aa7447eb0ec6653'/>
<id>520bd5225c70a5c4cceee08f1aa7447eb0ec6653</id>
<content type='text'>
Add test 676 to verify that setting CURLOPT_COOKIEFILE to NULL again clears
the cookiejar from memory.

Reported-by: Stefan Karpinski
Fixes #6889
Closes #6891
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add test 676 to verify that setting CURLOPT_COOKIEFILE to NULL again clears
the cookiejar from memory.

Reported-by: Stefan Karpinski
Fixes #6889
Closes #6891
</pre>
</div>
</content>
</entry>
<entry>
<title>ntlm: fix negotiated flags usage</title>
<updated>2021-04-09T07:40:56+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2021-04-06T17:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9c1e1a6105f34ffe3b5a16e874a92c9558ddbd96'/>
<id>9c1e1a6105f34ffe3b5a16e874a92c9558ddbd96</id>
<content type='text'>
According to Microsoft document MS-NLMP, current flags usage is not
accurate: flag NTLMFLAG_NEGOTIATE_NTLM2_KEY controls the use of
extended security in an NTLM authentication message and NTLM version 2
cannot be negotiated within the protocol.

The solution implemented here is: if the extended security flag is set,
prefer using NTLM version 2 (as a server featuring extended security
should also support version 2). If version 2 has been disabled at
compile time, use extended security.

Tests involving NTLM are adjusted to this new behavior.

Fixes #6813
Closes #6849
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Microsoft document MS-NLMP, current flags usage is not
accurate: flag NTLMFLAG_NEGOTIATE_NTLM2_KEY controls the use of
extended security in an NTLM authentication message and NTLM version 2
cannot be negotiated within the protocol.

The solution implemented here is: if the extended security flag is set,
prefer using NTLM version 2 (as a server featuring extended security
should also support version 2). If version 2 has been disabled at
compile time, use extended security.

Tests involving NTLM are adjusted to this new behavior.

Fixes #6813
Closes #6849
</pre>
</div>
</content>
</entry>
<entry>
<title>configure: remove use of RETSIGTYPE</title>
<updated>2021-04-07T14:01:05+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2021-04-07T09:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=812fce9dcfaf26f62b8bfb83ee51b43f83c5291f'/>
<id>812fce9dcfaf26f62b8bfb83ee51b43f83c5291f</id>
<content type='text'>
This was previously defined by the obsolete AC_TYPE_SIGNAL macro,
which was removed in 2682e5f5. The deprecation text says

&gt; Your code may safely assume C89 semantics that RETSIGTYPE is void.

So, remove it and just use void instead.

Closes #6861
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was previously defined by the obsolete AC_TYPE_SIGNAL macro,
which was removed in 2682e5f5. The deprecation text says

&gt; Your code may safely assume C89 semantics that RETSIGTYPE is void.

So, remove it and just use void instead.

Closes #6861
</pre>
</div>
</content>
</entry>
</feed>
