12 Mar
2026
12 Mar
'26
8:41 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42080 --- Comment #1 from Eric Phetteplace <ephetteplace@cca.edu> --- FYI I tested my proposed changed (CSP header instead of attachment header) and the results look correct. I have two identical files named malicious.svg and malicious.svg.pdf with a `console.log("hello")` script in them: - malicious.svg: browser console shows "Executing inline script violates the following Content Security Policy directive 'script-src 'none''." and nothing is logged - malicious.svg.pdf: browser says "Error: Failed to load PDF document" because file is not a valid PDF -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.