Change all links to User Page to use encodeURIComponent

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

No files matched your search

@@ -143,7 +143,7 @@ const BrewItem = ({
<span title="Username contained an email address; hidden to protect user's privacy">
{author}
</span>
) : (<a href={`/user/${author}`}>{author}</a>)}
) : (<a href={`/user/${encodeURIComponent(author)}`}>{author}</a>)}
{index < brew.authors.length - 1 && ', '}
</React.Fragment>
))}