diff --git a/lib/action.php b/lib/action.php index c2d60e11e9..29dbbc618e 100644 --- a/lib/action.php +++ b/lib/action.php @@ -1154,7 +1154,7 @@ class Action extends HTMLOutputter // lawsuit $url = $sslimage; } else if (preg_match('#^http://i.creativecommons.org/#', $image)) { // CC support HTTPS on their images - $url = preg_replace('/^http/', 'https', $image); + $url = preg_replace('/^http/', 'https', $image, 1); } else { // Better to show mixed content than no content $url = $image;