Fix special characters in aggregated QR settings

This commit is contained in:
Calvin Bui
2026-08-07 21:48:14 +10:00
parent a9e64860d5
commit cf5181bb28
3 changed files with 14 additions and 4 deletions
+2 -1
View File
@@ -33,7 +33,8 @@
const id = params.get('id');
const total = parseInt(params.get('n') || '0');
const index = parseInt(params.get('i') || '-1');
const data = params.get('d');
// Keep the chunk percent-encoded so URI delimiters remain part of the settings payload.
const data = hash.match(/(?:^|&)d=([^&]*)/)?.[1];
const app = document.getElementById('app');