diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-10-25 17:26:16 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-10-25 17:26:16 -0500 |
| commit | 40b82b68d7af3ff665e7f2b18869c3bbce4c6539 (patch) | |
| tree | 72f0ef239ce00d0abe70422160d39d2c032a5362 | |
| parent | eade263f70cf957a95dc5f20b82105cc8eae94fc (diff) | |
| download | slskd-40b82b68d7af3ff665e7f2b18869c3bbce4c6539.tar.gz | |
improve donation link
| -rw-r--r-- | src/web/src/components/System/Info/index.jsx | 3 |
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', ) } > |
