mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 05:01:20 +02:00
allowing space in manipulation route filenames
This commit is contained in:
@@ -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\\.\\/\\-]+'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user