On Mon, 23 Oct 2023, Timothe Litt via curl-library wrote:
If you need more than libcurl's features for manipulating URIs, there are other C libraries that are widely available, e.g. https://uriparser.github.io/ (https://github.com/uriparser/uriparser)
However, if you are using libcurl I *strongly* suggest you use libcurl's parser, as it has been shown many times that mixing parsers is a common recipe for (security) problems. I blogged about that last year, but I am not the first and not the last:
https://daniel.haxx.se/blog/2022/01/10/dont-mix-url-parsers/ -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html