]> BookStack Code Mirror - bookstack/commit
Images: Prevented base64 extraction without permission 4684/head
authorDan Brown <redacted>
Mon, 20 Nov 2023 13:32:31 +0000 (13:32 +0000)
committerDan Brown <redacted>
Mon, 20 Nov 2023 13:32:31 +0000 (13:32 +0000)
commit15d7161428832d2ebf12061f69fff780cdb10550
tree073850bef1389103aefb5718f15c7cb395b55f3f
parent9b1f82059659d0af745fab239f6b306f436d1e99
Images: Prevented base64 extraction without permission

Also added content sniffing as an extra check.
Added tests to cover.
app/Entities/Repos/PageRepo.php
app/Entities/Tools/PageContent.php
app/Users/Models/User.php
tests/Entity/PageContentTest.php
tests/ThemeTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.