Properly display https:// websites on your profile.
Patch by afuna.
diffs (12 lines):
diff -r ee7f71ffe6de -r 8dc427394a17 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm Mon Jul 06 03:55:12 2009 +0000
+++ b/cgi-bin/LJ/User.pm Mon Jul 06 16:11:28 2009 +0000
@@ -2443,7 +2443,7 @@ sub url {
$url ||= $u->prop( 'url' );
return undef unless $url;
- $url = "http://$url" unless $url =~ m!^http://!;
+ $url = "http://$url" unless $url =~ m!^https?://!;
return $url;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog