From d6ad5dbc3a4d1b8ce71ca150cab477159422a128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jair=20Cueva=20J=C3=BAnior?= Date: Mon, 7 Jun 2021 17:14:37 -0300 Subject: [PATCH] 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. --- src/Intervention/Image/ImageServiceProviderLaravelRecent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/ImageServiceProviderLaravelRecent.php b/src/Intervention/Image/ImageServiceProviderLaravelRecent.php index 8a9bc232..17a84d0a 100644 --- a/src/Intervention/Image/ImageServiceProviderLaravelRecent.php +++ b/src/Intervention/Image/ImageServiceProviderLaravelRecent.php @@ -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}', [