aboutsummaryrefslogtreecommitdiff
path: root/src/helpers.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-14 01:29:08 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-14 01:29:08 +0100
commit4df35bdcd9e57452bb7f5f5b73f9e52f3693a78f (patch)
tree6b135fe557438b7d77aa4f6400c1f4686c43fdd6 /src/helpers.ts
parent3d79aba854ccdbc79e8b7145ca99d6e0803e66bc (diff)
add test for base url canonicalization and fix canonicalization bug
Diffstat (limited to 'src/helpers.ts')
-rw-r--r--src/helpers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.ts b/src/helpers.ts
index 26cd350ee..2e7a701c3 100644
--- a/src/helpers.ts
+++ b/src/helpers.ts
@@ -50,7 +50,7 @@ export function canonicalizeBaseUrl(url: string) {
x.protocol("https");
}
x.path(x.path() + "/").normalizePath();
- x.fragment();
+ x.fragment("");
x.query();
return x.href()
}