Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2020-05-09 16:59:43 +0300
committerMichaël Zasso <targos@protonmail.com>2020-06-06 12:11:02 +0300
commit0d08d5ae7c2e6175b268e2c17a4d835ff8f9f6ba (patch)
tree114bdb1ea052d3345a4c0852cbc27f7ac7081d57 /src/node_url.cc
parente0586d0f7013095d9b0c7413121c9dc06de55826 (diff)
url: remove gopher from special schemes
Refs: https://github.com/nodejs/node/issues/33315 Refs: https://github.com/whatwg/url/commit/d589670451a4da9717bad69ed5d5364f93fede33 Refs: https://github.com/whatwg/url/commit/7ae1c691c96f0d82fafa24c33aa1e8df9ffbf2bc PR-URL: https://github.com/nodejs/node/pull/33325 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_url.cc')
-rw-r--r--src/node_url.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_url.cc b/src/node_url.cc
index a181d5fb5d8..b1b21a8ad3c 100644
--- a/src/node_url.cc
+++ b/src/node_url.cc
@@ -726,7 +726,6 @@ std::string PercentDecode(const char* input, size_t len) {
#define SPECIALS(XX) \
XX(ftp, 21, "ftp:") \
XX(file, -1, "file:") \
- XX(gopher, 70, "gopher:") \
XX(http, 80, "http:") \
XX(https, 443, "https:") \
XX(ws, 80, "ws:") \