mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 19:02:28 +00:00
[security] replace innerHTML usages in js/ui/components/ShareNostrModal.js — convert to safe DOM APIs
- Replace template `innerHTML` with `DOMParser` - Replace SVG `innerHTML` with `createElementNS` - Replace `innerHTML = ""` with `replaceChildren()` - Update `check-innerhtml` baseline Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
83247a0754
commit
f9f23c0d08
6 files changed
+105
-5
No files matched your search
@@ -33,7 +33,6 @@ const BASELINE = {
|
||||
"js/ui/components/EmbedVideoModal.js": 1,
|
||||
"js/ui/components/EventDetailsModal.js": 1,
|
||||
"js/ui/components/nip71FormManager.js": 1,
|
||||
"js/ui/components/ShareNostrModal.js": 3,
|
||||
"js/ui/components/UploadModal.js": 1,
|
||||
"js/ui/components/VideoModal.js": 1,
|
||||
"js/ui/dm/AppShell.js": 1,
|
||||
|
||||
Reference in new issue
Block a user