فهرست منبع

apply ESLint recommendation

El RIDO 9 ماه پیش
والد
کامیت
8293d1fb5d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      js/test/AttachmentViewer.js

+ 1 - 1
js/test/AttachmentViewer.js

@@ -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);