Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

[ \w\\.\\/\\-\\@\(\)]+ #94

Open
baiachen opened this issue Aug 9, 2018 · 0 comments
Open

[ \w\\.\\/\\-\\@\(\)]+ #94

baiachen opened this issue Aug 9, 2018 · 0 comments

Comments

@baiachen
Copy link

baiachen commented Aug 9, 2018

ImageServiceProviderLaravel5
if (is_string(config('imagecache.route'))) {
$filename_pattern = '[ \w\.\/\-\@()]+';
// route to access template applied image file
$app['router']->get(config('imagecache.route').'/{template}/{filename}', [
'uses' => 'Intervention\Image\ImageCacheController@getResponse',
'as' => 'imagecache'
])->where(['filename' => $filename_pattern]);
}
I have a normal image cache on the local environment homestead, but reported a 404 error on the centos7.1 system.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant