Skip to content

Commit

Permalink
EZEE-1850: Supplement for ezsystems#945 (ezsystems#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmadejski authored and andrerom committed Feb 7, 2018
1 parent ffda73c commit f6f8af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Loader/ComboLoader.php
Expand Up @@ -221,7 +221,7 @@ private function getModuleSetting($module, $setting)
private function sanitizeFilenames(array $files, $version)
{
$filesWithoutVersion = array_map(function ($file) use ($version) {
if (preg_match('/\?' . $version . '$/', $file)) {
if (preg_match('/\?' . preg_quote($version, '/') . '$/', $file)) {
return substr($file, 0, -(strlen($version) + 1));
}

Expand Down

0 comments on commit f6f8af3

Please sign in to comment.