]> BookStack Code Mirror - bookstack/commit
Fixed issue where URL params in image names would cause loading failure
authorDan Brown <redacted>
Sat, 25 Jul 2020 10:18:40 +0000 (11:18 +0100)
committerDan Brown <redacted>
Sat, 25 Jul 2020 10:18:40 +0000 (11:18 +0100)
commit8213ea9a7182df48ac9c12bb7b74098b5ad665a4
treec219d27df7aa68fafa3f2684355c4d937860c657
parent03211ebea6b26b29ad2c28a9833c61a4ff9581a4
Fixed issue where URL params in image names would cause loading failure

Updated file name handling to route through str:slug to be cleaned up
a little.
Added testing to cover.

Fixes #2161
app/Uploads/ImageService.php
tests/Uploads/ImageTest.php
tests/Uploads/UsesImages.php