summaryrefslogtreecommitdiff
path: root/lib/idn.c
Commit message (Collapse)AuthorAgeFilesLines
* idn: return error if the conversion ends up with a blank hostDaniel Stenberg2023-02-271-0/+5
| | | | | | | | | Some IDN sequences are converted into "" (nothing), which can make this function end up with a zero length host name and we cannot consider that a valid host to continue with. Reported-by: Maciej Domanski Closes #10617
* copyright: update all copyright lines and remove year rangesDaniel Stenberg2023-01-031-1/+1
| | | | | | | | | | | | - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
* urlapi: add CURLU_PUNYCODEDaniel Stenberg2022-12-261-13/+17
| | | | | | | | | Allows curl_url_get() get the punycode version of host names for the host name and URL parts. Extend test 1560 to verify. Closes #10109
* idn: rename the files to idn.[ch] and hold all IDN functionsDaniel Stenberg2022-12-151-0/+193
Closes #10094