danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.59k forks source link

FileApi.js@_makeFlashHTML function accepts single arguments opts, but the function is called with 2 arguments #2130

Open phanithinks opened 4 years ago

phanithinks commented 4 years ago

FileApi.js@_makeFlashHTML function accepts single arguments 'opts', but the function is called using 2 arguments at line numbers 4120 and 3391. I am aware that JavaScript allows it. But some security enforcing tools are marking red flags for this.