mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 01:29:51 +02:00
Add support to equal sign - '=' - on URL
Updated filename regex pattern to allow the equal sign as being part of the filename portion of the route, otherwise it would fall on 404 error.
This commit is contained in:
committed by
GitHub
parent
032263954c
commit
d6ad5dbc3a
@@ -77,7 +77,7 @@ class ImageServiceProviderLaravelRecent extends ServiceProvider
|
||||
// imagecache route
|
||||
if (is_string(config('imagecache.route'))) {
|
||||
|
||||
$filename_pattern = '[ \w\\.\\/\\-\\@\(\)]+';
|
||||
$filename_pattern = '[ \w\\.\\/\\-\\@\(\)\=]+';
|
||||
|
||||
// route to access template applied image file
|
||||
$app['router']->get(config('imagecache.route').'/{template}/{filename}', [
|
||||
|
Reference in New Issue
Block a user