diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2024-05-24 21:49:33 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2024-05-24 21:51:35 +0100 |
commit | 4a50da326a6fc27da1be1edf068ab50ea919384e (patch) | |
tree | e945c2b49edbd26c57b46b16938b08b422934ab6 /frontends/riscos | |
parent | 506f4b14bb51cf69d8d4b8722e0ba2f47e49f301 (diff) | |
download | netsurf-4a50da326a6fc27da1be1edf068ab50ea919384e.tar.gz netsurf-4a50da326a6fc27da1be1edf068ab50ea919384e.tar.bz2 |
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>
Diffstat (limited to 'frontends/riscos')
0 files changed, 0 insertions, 0 deletions