]> BookStack Code Mirror - bookstack/commit
Added safe mime sniffing to prevent serving HTML
authorDan Brown <redacted>
Sun, 31 Oct 2021 17:58:56 +0000 (17:58 +0000)
committerDan Brown <redacted>
Sun, 31 Oct 2021 17:58:56 +0000 (17:58 +0000)
commitae155d67454d6b9f6c93b2bb457aaa4b2eb1a9ed
tree614dc9e315898ba1108bd874f7e260d2e4a5145c
parent5c834f24a6e2b933236cbabc4484f00c686dc05c
Added safe mime sniffing to prevent serving HTML

(Amoung other content types)
For #3027
app/Http/Controllers/Controller.php
app/Util/WebSafeMimeSniffer.php [new file with mode: 0644]
tests/Uploads/AttachmentTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.