0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-20 09:42:41 +00:00

Change all links to User Page to use encodeURIComponent

This commit is contained in:
G.Ambatte
2025-09-01 21:51:27 +12:00
parent c1ebc68cd4
commit 90de9c0af1
4 changed files with 6 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ const Account = createClass({
{global.account.username}
</Nav.item>
<Nav.item
href={`/user/${encodeURI(global.account.username)}`}
href={`/user/${encodeURIComponent(global.account.username)}`}
color='yellow'
icon='fas fa-beer'
>