From 4df35bdcd9e57452bb7f5f5b73f9e52f3693a78f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Nov 2016 01:29:08 +0100 Subject: add test for base url canonicalization and fix canonicalization bug --- src/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers.ts') 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() } -- cgit v1.2.3