Images.php
authoredward <edward@roojs.com>
Wed, 5 Oct 2016 06:29:29 +0000 (14:29 +0800)
committeredward <edward@roojs.com>
Wed, 5 Oct 2016 06:29:29 +0000 (14:29 +0800)
Images.php

index 13ba397..29bcf42 100644 (file)
@@ -360,7 +360,7 @@ class Pman_Core_Images extends Pman
                 $html = self::replaceImgUrl($html, $baseURL, $img, $attr,  'src' );
                 continue;
             }
-            if (false !== strpos($attr['src'], '//')) {
+            if (false !== strpos($attr['src'], '//') && false === strpos($attr['src'], $baseURL)) {
                 // contains an absolute path.. that is probably not us...
                 continue;
             }