Change #267196
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Fri 15 May 2026 10:14:36 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | bagder/double-dot |
| Revision | 29e6af5ad6631a23f15d0c6f6cc3fb9dac0aa2ac |
Comments
urlapi: deny hostnames with more than one trailing 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.
Changed files
- lib/urlapi.c
- tests/libtest/lib1560.c