1
0
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:
Jair Cueva Júnior
2021-06-07 17:14:37 -03:00
committed by GitHub
parent 032263954c
commit d6ad5dbc3a

View File

@@ -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}', [