1
0
mirror of https://git.teknik.io/Teknikode/Teknik.git synced 2023-08-02 14:16:22 +02:00

Fixed download worker security issue

This commit is contained in:
Uncled1023 2016-10-20 21:56:16 -07:00
parent 2eb9463df7
commit 26ad6b6529

View File

@ -14,7 +14,7 @@ function downloadFile() {
if (this.status == 200) {
if (iv != '' && key != '') {
var worker = new Worker(encScriptSrc);
var worker = new Worker(GenerateBlobURL(encScriptSrc));
worker.addEventListener('message', function (e) {
switch (e.data.cmd) {