1
0
mirror of https://github.com/typemill/typemill.git synced 2025-01-16 21:08:20 +01:00

Version 1.5.3: Strip out params for asset urls

This commit is contained in:
trendschau 2022-02-06 22:37:20 +01:00
parent 2fb958db26
commit 1c76fdf10b

View File

@ -285,7 +285,8 @@ class Assets
*/
public function getFileUrl($path)
{
$internalFile = __DIR__ . '/../plugins' . $path;
# check system path of file without parameter for fingerprinting
$internalFile = __DIR__ . '/../plugins' . strtok($path, "?");
if(file_exists($internalFile))
{