mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-22 18:28:26 +00:00
apply ESLint recommendation
This commit is contained in:
parent
43cf8b53ac
commit
8293d1fb5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue