Skip to content

Commit c8dc69b

Browse files
save file
1 parent 3a4d96a commit c8dc69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/25-12-04/bypass-csp/bypass-csp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ <h3>
576576
name ||= blob.name;
577577
var url = window.URL.createObjectURL(blob);
578578
var a = document.createElement('a');
579-
a.download = blob.name;
579+
a.download = name;
580580
a.href = url;
581581
a.click();
582582

0 commit comments

Comments
 (0)