aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-10-25 17:26:16 -0500
committerJP Dillingham <jp@dillingham.me>2026-10-25 17:26:16 -0500
commit40b82b68d7af3ff665e7f2b18869c3bbce4c6539 (patch)
tree72f0ef239ce00d0abe70422160d39d2c032a5362 /src
parenteade263f70cf957a95dc5f20b82105cc8eae94fc (diff)
downloadslskd-40b82b68d7af3ff665e7f2b18869c3bbce4c6539.tar.gz
improve donation link
Diffstat (limited to 'src')
-rw-r--r--src/web/src/components/System/Info/index.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/src/components/System/Info/index.jsx b/src/web/src/components/System/Info/index.jsx
index 8672b5df..016b683f 100644
--- a/src/web/src/components/System/Info/index.jsx
+++ b/src/web/src/components/System/Info/index.jsx
@@ -42,8 +42,9 @@ const Info = ({ state, theme }) => {
mediaQuery="(max-width: 686px)"
onClick={() =>
window.open(
- `http://www.slsknet.org/qtlogin.php?username=${state?.user?.username}`,
+ `http://www.slsknet.org/qtlogin.php?username=${encodeURIComponent(state?.user?.username ?? '')}`,
'_blank',
+ 'noopener,noreferrer',
)
}
>