mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:13:34 +03:00
url: revert the removal of trailing dot from host name
Reverts 5de8d84098 (May 2014, shipped in 7.37.0) and the
follow-up changes done afterward.
Keep the dot in names for everything except the SNI to make curl behave
more similar to current browsers. This means 'name' and 'name.' send the
same SNI for different 'Host:' headers.
Updated test 1322 accordingly
Fixes #8290
Reported-by: Charles Cazabon
Closes #8320
This commit is contained in:
parent
be683243b6
commit
b27ad8e1d3
3 changed files with 3 additions and 26 deletions
|
|
@ -46,7 +46,7 @@ HTTP with --resolve and hostname with trailing dot
|
|||
<verify>
|
||||
<protocol>
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
Host: example.com:%HTTPPORT
|
||||
Host: example.com.:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue