summaryrefslogtreecommitdiff
path: root/AK/JsonObject.h
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-11-04 06:20:20 +0000
committerAndreas Kling <kling@serenityos.org>2020-11-04 19:34:00 +0100
commit3e0e84dcd125bc2cbf9f3423254584e9b9dc82c9 (patch)
treeb0e4e2463b6eebe4a92a9142f10082fd38a20a9e /AK/JsonObject.h
parentfb89c324c5a577712881fb5d385f5f3d004c071f (diff)
downloadserenity-3e0e84dcd125bc2cbf9f3423254584e9b9dc82c9.zip
AK::URL: Check if URL requires a port set to be considered a valid URL
`AK::URL` will now check if the URL requires a port to be set using `AK::URL.protocol_requires_port(protocol)`. If the URL does not specify a port, and no default port for the URL protocol is found with `AK::URL.default_port_for_protocol(protocol)`, the URL is considered to be invalid.
Diffstat (limited to 'AK/JsonObject.h')
0 files changed, 0 insertions, 0 deletions