Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix XSS vulnerability by encoding username in profile page
- Replaced direct user input insertion with URL encoding using encodeURIComponent. - This change ensures that special characters in the username are properly encoded, preventing potential cross-site scripting (XSS) attacks.
- Loading branch information