#nosec to silence false positive
This commit is contained in:
@@ -348,6 +348,7 @@ export async function openUserPanel() {
|
|||||||
const f = this.files[0];
|
const f = this.files[0];
|
||||||
if (!f) return;
|
if (!f) return;
|
||||||
// preview immediately
|
// preview immediately
|
||||||
|
// #nosec
|
||||||
img.src = URL.createObjectURL(f);
|
img.src = URL.createObjectURL(f);
|
||||||
const blobUrl = URL.createObjectURL(f);
|
const blobUrl = URL.createObjectURL(f);
|
||||||
// use setAttribute + encodeURI to avoid “DOM text reinterpreted as HTML” alerts
|
// use setAttribute + encodeURI to avoid “DOM text reinterpreted as HTML” alerts
|
||||||
|
|||||||
Reference in New Issue
Block a user