netsurf/utils/nsurl
Daniel Silverstone 4a50da326a nsurl: Reject URLs with invalid host components
The host component, by the time we hit the validation code, should
be a valid DNS name.  In theory it could also be an IPv6 address,
but those are far more painful to deal with so we're ignoring that
opportunity for now.

This fixes a problem where the search_web_omni logic would fail
to generate a search because nsurl_create() succeeded even though
it shouldn't have.

Signed-off-by: Daniel Silverstone <dsilvers@netsurf-browser.org>
2024-05-24 21:51:35 +01:00
..
Makefile nsurl: Split out URL parsing. 2017-02-08 17:27:13 +00:00
nsurl.c nsurl: Expose scheme type accessor. 2020-05-19 21:01:09 +01:00
parse.c nsurl: Reject URLs with invalid host components 2024-05-24 21:51:35 +01:00
private.h nsurl: Expose scheme type accessor. 2020-05-19 21:01:09 +01:00