From 6630cbc3c8f3233ba12cdee3c7a40081ec65c652 Mon Sep 17 00:00:00 2001 From: Gilles Major Date: Wed, 4 Nov 2015 13:58:23 +0100 Subject: [PATCH] added support for @ in filename --- src/Intervention/Image/ImageServiceProviderLaravel5.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/ImageServiceProviderLaravel5.php b/src/Intervention/Image/ImageServiceProviderLaravel5.php index 52a52d85..51d82cb5 100644 --- a/src/Intervention/Image/ImageServiceProviderLaravel5.php +++ b/src/Intervention/Image/ImageServiceProviderLaravel5.php @@ -78,7 +78,7 @@ class ImageServiceProviderLaravel5 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}', array(