From 09ae4e2096dae0f624a9db26db384d25335b3ea1 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 9 Nov 2024 18:04:58 -0500 Subject: [PATCH] ssb: Handle the inevitable %25 in a document hash better? --- apps/ssb.json | 2 +- apps/ssb/tf-app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index ea34473b..95c5e7ab 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&jEWLK3TSDaS67X4zN//XhAjtODbVyWwqu+rxiNuzJRM=.sha256" + "previous": "&0ZjcRFTyAmJMm3qhqKy5Ffrue23G1CAUfc1i2WYZrzQ=.sha256" } diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index b32b6241..854e0b96 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -67,7 +67,7 @@ class TfElement extends LitElement { } set_hash(hash) { - this.hash = hash || '#'; + this.hash = decodeURIComponent(hash || '#'); if (this.hash.startsWith('#q=')) { this.tab = 'search'; } else if (this.hash === '#connections') {