fix(release): fehlende Versionsnummern + bgUrl-Validierung

Drei Stellen hatten noch '2.0.0' statt '2.0.1': newtab.html About-Sektion,
data.js Export und app.js Backup-Export. FileReader-Upload in settings.js
validiert jetzt bgUrl via isValidBgUrl() (Defense-in-Depth).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 20:33:38 +02:00
parent 536e0771a4
commit 675e21d886
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -200,6 +200,7 @@ function bindSettingsEvents() {
if (!file) return;
const reader = new FileReader();
reader.onload = async ev => {
if (!isValidBgUrl(ev.target.result)) return;
settings.bgUrl = ev.target.result;
document.getElementById('bgLayer').style.backgroundImage = `url('${ev.target.result}')`;
await saveSettings();