diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/NavigationBar.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/NavigationBar.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx index 2817f3299..8a41ee68e 100644 --- a/packages/taler-wallet-webextension/src/NavigationBar.tsx +++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx @@ -59,7 +59,10 @@ function replaceAll( ): string { let result = pattern; for (const v in vars) { - result = result.replace(vars[v], !values[v] ? "" : values[v]); + result = result.replace( + vars[v], + !values[v] ? "" : encodeURIComponent(values[v]), + ); } return result; } |