1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-21 13:11:18 +02: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) '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\\.\\/\\-]+'));
} }
} }
} }