From 6c828ec326df96d5169b39bd54123d55c1bf88f5 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 2 May 2017 15:31:21 -0700 Subject: [PATCH] Possible fix for hardcoded css URLs with css cache. --- e107_handlers/js_manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/js_manager.php b/e107_handlers/js_manager.php index 989a1b5c8..6daee89e2 100644 --- a/e107_handlers/js_manager.php +++ b/e107_handlers/js_manager.php @@ -1597,7 +1597,7 @@ class e_jsmanager foreach($match[1] as $k=>$v) { - if(substr($v,5) == 'data:' || substr($v,4) == 'http') + if(strpos($v,'data:') === 0 || strpos($v,'http') === 0) { unset($match[0][$k]); continue;