diff --git a/themes/danbooru2/view.theme.php b/themes/danbooru2/view.theme.php index 4c441352..10d1a3f5 100644 --- a/themes/danbooru2/view.theme.php +++ b/themes/danbooru2/view.theme.php @@ -39,7 +39,7 @@ class CustomViewImageTheme extends ViewImageTheme { if(!is_null($image->source)) { $h_source = html_escape($image->source); - if(substr($image->source, 0, 7) != "http://") { + if(substr($image->source, 0, 7) != "http://" && substr($image->source, 0, 8) != "https://") { $h_source = "http://" . $h_source; } $html .= "
Source: link";