1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-11 16:44:44 +02:00

ImportProcessor can handle URIs with query strings

Fixes #479
This commit is contained in:
Steve Clay
2017-04-03 16:50:53 -04:00
parent 62370404c8
commit e904f2e1ae
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ class Minify_ImportProcessor
private function _getContent($file, $is_imported = false)
{
$file = preg_replace('~\\?.*~', '', $file);
$file = realpath($file);
if (! $file
|| in_array($file, self::$filesIncluded)