Commit 2d067fe9 authored by Nicolas Mérigot's avatar Nicolas Mérigot

fix: remove base64 encode

parent f14837a3
Pipeline #1897 passed with stage
in 27 seconds
......@@ -35,14 +35,14 @@ export default class SIBRoute extends HTMLElement {
encodeId(id) {
if (id) {
return btoa(unescape(encodeURIComponent(id)));
return encodeURIComponent(id);
decodeId(id) {
if(id) {
return decodeURIComponent(escape(atob(id)));
return decodeURIComponent(id);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment