mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-23 02:31:39 +01:00
Don't encode unknown segment values
This commit is contained in:
parent
e9053372d6
commit
80080074fa
@ -185,7 +185,7 @@ export function parseUrlPath(urlPath: string, currentNavPath: Path<SegmentType>,
|
|||||||
segments.push(new Segment("sso", loginToken));
|
segments.push(new Segment("sso", loginToken));
|
||||||
} else {
|
} else {
|
||||||
// might be undefined, which will be turned into true by Segment
|
// 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));
|
segments.push(new Segment(type, value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user