fix: decode URI components before path processing
Ensure path normalization and encoding handle URI-encoded segments correctly by decoding them first.
This commit is contained in:
@@ -101,7 +101,7 @@ export const RevealManager: Component = () => {
|
||||
const state = journalStreamState;
|
||||
if (!dom || state.myRole !== "gm" || !state.connected) return;
|
||||
|
||||
const normalized = normalizePath(location.pathname);
|
||||
const normalized = normalizePath(decodeURIComponent(location.pathname));
|
||||
const data = comp.data;
|
||||
|
||||
// Spark tables on this page — matched by suffix on column slug.
|
||||
|
||||
Reference in New Issue
Block a user