diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-05-05 13:47:52 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-05-06 08:44:11 +0200 |
commit | 5de8d84098db1bd24e7fffefbe14e81f2a05995a (patch) | |
tree | 4f5081b2250f41e512a930ba742b52e97244bd9a /tests/unit/unit1304.c | |
parent | 47d760714f2f44b7edc8f1ef4d5518286e402af9 (diff) |
fix_hostname: strip off a single trailing dot from host name
Primarily for SNI, we need the host name without a trailing dot.
"https://www.example.com." resolves fine but fails on SNI unless the dot
is removed.
Reported-by: Leon Winter
Bug: http://curl.haxx.se/mail/lib-2014-04/0161.html
Diffstat (limited to 'tests/unit/unit1304.c')
0 files changed, 0 insertions, 0 deletions