Change #267208
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 15 May 2026 11:44:20 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 913529411514d864ee2f377379d872dcab2c8317 |
Comments
urlapi: deny hostnames with more than one trailing dot Or consisting of just a single dot. Such names cannot be resolved with DNS. While they *can* still be resolved with /etc/hosts or --resolve tricks, they easily cause internal problems because their trailing dots. Let's not allow them anymore. Closes #21622
Changed files
- lib/urlapi.c
- tests/http/test_17_ssl_use.py
- tests/libtest/lib1560.c