Go to file
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
.github/workflows ci: Add ccache to github workflows 2023-03-16 15:47:43 +00:00
content content caches: Squash -Wcalloc-transposed-args (gcc-14) 2024-05-24 21:09:24 +01:00
desktop desktop: textarea: Squash -Wcalloc-transposed-args (gcc-14) 2024-05-24 21:09:24 +01:00
docs (docs): Update the unimplemented JS bits list 2022-11-27 09:43:23 +00:00
frontends frontends: monkey: Squash -Wcalloc-transposed-args (gcc-14) 2024-05-24 21:11:30 +01:00
include/netsurf Fetch/curl: expose socket open/close via fetch vtable 2024-03-13 23:03:34 +00:00
resources Resources: Add french static files 2024-03-01 16:17:15 +00:00
test fix gcov flushing in assert exit 2024-03-18 23:29:25 +00:00
tools jenkins-build: add arm-riscos-gnueabi 2023-03-05 23:48:48 +00:00
utils nsurl: Reject URLs with invalid host components 2024-05-24 21:51:35 +01:00
.clang-format update clang format style for version 7 2019-10-10 18:22:23 +01:00
.gitattributes add attributes file to stop .gitignore being exported 2013-04-19 21:27:45 +01:00
.gitignore gitignore: Ignore nsgtk2 properly 2020-02-22 11:39:14 +00:00
COPYING Clarify licensing arrangements 2007-08-09 15:32:39 +00:00
Makefile use attributes to indicate switch fall through instead of comments 2024-03-05 21:33:13 +00:00
Makefile.config.example Dukky: Add and utilise a jserrors category 2019-08-02 10:12:45 +01:00
Makefile.defaults Makefile: Set libjxl to AUTO 2023-11-26 17:26:09 +00:00
Makefile.macros Buildsystem: Avoid errors when headers are removed. 2021-03-19 12:09:57 +00:00
Makefile.tools move build tool selection into separate makefile fragment 2024-02-27 09:26:37 +00:00
README.md s/http/https/ in user-facing URIs 2022-05-27 17:58:51 +01:00

NetSurf

This document should help point you at various useful bits of information.

Building NetSurf

Read the Quick Start document for instructions.

Creating a new port

Look at the existing front ends for example implementations. The framebuffer front end is simplest and most self-contained. Also, you can contact the developers for help.

Further documentation