diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 1a3f1a828..c5f6b0b5f 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2311,6 +2311,10 @@ class e_parse $http . $base . str_replace('../', '', e_CACHE_IMAGE), ); + // Quickfix for any '/./' that may occur. + $srch[] = '/./'; + $repl[] = '/'; + $ret = str_replace($srch, $repl, $path); if(strpos($ret, 'http') !== 0) // if not converted, check media folder also.