apply ESLint recommendation

This commit is contained in:
El RIDO 2025-10-28 11:33:47 +01:00
parent 43cf8b53ac
commit 8293d1fb5d
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -160,7 +160,7 @@ describe('AttachmentViewer', function () {
const maliciousFileNames = [
'<script>alert("☹️");//<a',
'"><meta http-equiv="refresh" content="0;url=http://example.com/">.txt',
'"><meta http-equiv="refresh" content="0;url=http://example.com/">.txt'
];
for (const filename of maliciousFileNames) {
$.PrivateBin.AttachmentViewer.setAttachment('data:;base64,', filename);