diff --git a/lib/url.js b/lib/url.js index fc8f77d1bdd..bacf201dd6e 100644 --- a/lib/url.js +++ b/lib/url.js @@ -79,18 +79,6 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'javascript': true, 'javascript:': true }, - // protocols that always have a path component. - pathedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, // protocols that always contain a // bit. slashedProtocol = { 'http': true,