mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Fix: Add rel="noopener noreferrer" to target="_blank" link in channel profile
This commit addresses a security vulnerability in `views/channel-profile.html` where an external link with `target="_blank"` was missing `rel="noopener noreferrer"`. This could allow the target page to manipulate the `window.opener` object (reverse tabnabbing). Changes: - Added `rel="noopener noreferrer"` to the `#channelWebsite` anchor tag. Verification: - Confirmed the attribute is present using a Playwright verification script. - Confirmed no visual regressions. - Ran linting checks (passed). - Ran unit tests (pre-existing unrelated failures in NIP compliance noted). Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
9913e484ab
commit
d0f0b3ee2e
2 files changed
+1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Reference in new issue
Block a user