1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Ensured uploaded system images remain public

Also added tests to cover local_secure image storage.

Fixes #725
This commit is contained in:
Dan Brown
2018-03-25 12:41:52 +01:00
parent f1586be516
commit 23f90ed6b4
5 changed files with 59 additions and 33 deletions

View File

@ -225,7 +225,6 @@ class ImageRepo
try {
return $this->imageService->getThumbnail($image, $width, $height, $keepRatio);
} catch (\Exception $exception) {
dd($exception);
return null;
}
}