]> BookStack Code Mirror - bookstack/commit
Fixed issue where more images than expected could be deleted
authorDan Brown <redacted>
Fri, 24 Jul 2020 22:41:59 +0000 (23:41 +0100)
committerDan Brown <redacted>
Fri, 24 Jul 2020 22:41:59 +0000 (23:41 +0100)
commitb6aa232205d1f889be95a57e76ac391023e00bfd
tree35a00adbdff6a6c5442be724e8f6bf55183ba798
parentb383f5776d6246470e44d8af0c9f520db91870a2
Fixed issue where more images than expected could be deleted

When deleting images, images within the same directory, that have
a suffix of the delete image name, would also be deleted.

Added test to cover.
app/Uploads/ImageService.php
tests/Uploads/ImageTest.php