]> BookStack Code Mirror - bookstack/commit
Prevent dbl exts. on img upload, Randomized attachment upload names
authorDan Brown <redacted>
Sun, 24 Mar 2019 19:07:18 +0000 (19:07 +0000)
committerDan Brown <redacted>
Sun, 24 Mar 2019 19:08:21 +0000 (19:08 +0000)
commit193e2ffebe920234438faff812f731de7b36ca9f
treed1ea1901ce15666634c1c9c5075f4902472d83a2
parentf5fe524e6c466e483e424cb70fe1c461e7a4c2b5
Prevent dbl exts. on img upload, Randomized attachment upload names
app/Http/Controllers/ImageController.php
app/Providers/AppServiceProvider.php
app/Uploads/AttachmentService.php
tests/Uploads/AttachmentTest.php
tests/Uploads/ImageTest.php
tests/test-data/bad.phtml.png [new file with mode: 0644]