]> BookStack Code Mirror - bookstack/commit
Updated attachments to not be saved with a complete extension
authorDan Brown <redacted>
Mon, 1 Nov 2021 11:32:00 +0000 (11:32 +0000)
committerDan Brown <redacted>
Mon, 1 Nov 2021 11:32:00 +0000 (11:32 +0000)
commitbfbccbede14853c68edecf5dd5d08a50a6ed5c9d
tree94275422503d19212781109338ab50799b2d3279
parent4360da03d414cc926dde3d79e22e6e35f85838e1
Updated attachments to not be saved with a complete extension

Intended to limit impact in the event the storage path is potentially
exposed.
app/Auth/User.php
app/Uploads/AttachmentService.php
app/Uploads/ImageService.php
tests/Uploads/AttachmentTest.php