summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.js b/lib/url.js
index d772b4f58c..e01343a506 100644
--- a/lib/url.js
+++ b/lib/url.js
@@ -114,7 +114,8 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
// Back slashes before the query string get converted to forward slashes
// See: https://code.google.com/p/chromium/issues/detail?id=25916
var queryIndex = url.indexOf('?'),
- splitter = (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
+ splitter =
+ (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',
uSplit = url.split(splitter),
slashRegex = /\\/g;
uSplit[0] = uSplit[0].replace(slashRegex, '/');