From 80080074fa668c4e52c23517e8807a2e2b9880d7 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 25 Nov 2022 11:20:47 +0530 Subject: [PATCH] Don't encode unknown segment values --- src/domain/navigation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/navigation/index.ts b/src/domain/navigation/index.ts index f580206e..60da2435 100644 --- a/src/domain/navigation/index.ts +++ b/src/domain/navigation/index.ts @@ -185,7 +185,7 @@ export function parseUrlPath(urlPath: string, currentNavPath: Path, segments.push(new Segment("sso", loginToken)); } else { // might be undefined, which will be turned into true by Segment - const value = decodeURIComponent(iterator.next().value); + const value = iterator.next().value; segments.push(new Segment(type, value)); } }