Change #273001
| Category | curl |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Fri 26 Jun 2026 22:50:38 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | d786a85f19927c34a10b91b144389db8b16888c7 |
Comments
lib: hostname related cleanups * format `data->state.aptr.host` without crlf, so signatures do not need to strip it again. Add the crlf when adding the header to the request dynbuf * check `connect-to` strings on normalized hostname and user supplied hostname (when those differ) * libssh: always use the peer for setting ssh option SSH_OPTIONS_HOST, preserve ipv6 [] enclosure, use IDN converted hostname otherwise. This is the libssh documented expectation. Do NOT use strings from URL parsing. Closes #22128
Changed files
- lib/http.c
- lib/http_aws_sigv4.c
- lib/url.c
- lib/vssh/libssh.c