1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-06 22:00:38 +01:00

allowing space in manipulation route filenames

This commit is contained in:
Oliver Vogel 2014-08-19 18:04:11 +02:00
parent 92a9968876
commit 7ff8e3947d

View File

@ -86,7 +86,7 @@ class ImageServiceProvider extends ServiceProvider
'Etag' => md5($content)
));
}))->where(array('template' => join('|', array_keys($config->get('imagecache::templates'))), 'filename' => '^[\/\w.-]+$'));
}))->where(array('template' => join('|', array_keys($config->get('imagecache::templates'))), 'filename' => '[ \w\\.\\/\\-]+'));
}
}
}