1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Allow uploads of files containing dots in filename. Closes BookStackApp/BookStack#2217

This commit is contained in:
Timo Förster
2021-03-04 21:45:56 +01:00
parent 4d4a57d1bf
commit 745d15d200
35 changed files with 25 additions and 42 deletions

View File

@ -159,6 +159,6 @@ abstract class Controller extends BaseController
*/
protected function getImageValidationRules(): string
{
return 'image_extension|no_double_extension|mimes:jpeg,png,gif,webp';
return 'image_extension|mimes:jpeg,png,gif,webp';
}
}