mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
Merge branch 'master' of https://github.com/haxatron/BookStack into haxatron_upload_issue
This commit is contained in:
commit
b31fbf5ba8
@ -38,7 +38,7 @@ class ImageRepo
|
|||||||
*/
|
*/
|
||||||
public function imageExtensionSupported(string $extension): bool
|
public function imageExtensionSupported(string $extension): bool
|
||||||
{
|
{
|
||||||
return in_array(trim($extension, '. \t\n\r\0\x0B'), static::$supportedExtensions);
|
return in_array(trim($extension, ". \t\n\r\0\x0B"), static::$supportedExtensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user