ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17094: LJSUP-6415: Server selected Scrapbook im...

Committer: ssafronova
LJSUP-6415: Server selected Scrapbook images via CDN - bugfix
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2010-08-06 04:54:08 UTC (rev 17093)
+++ trunk/cgi-bin/cleanhtml.pl	2010-08-09 03:27:54 UTC (rev 17094)
@@ -805,7 +805,7 @@
                     if ($hash->{'src'} =~ m!^http://(?:l-)?pics.livejournal.com/(\w+)/pic/(.*)$!i) {
                         my ($journal, $rest) = ($1, $2);
                         my $host = (!$LJ::DISABLED{'pics_via_cdn'} && $LJ::USE_CDN_FOR_PICS{$journal}) 
-                                ? "pics.livejournal.com" : "l-pics.livejournal.com";
+                                ? "l-pics.livejournal.com" : "pics.livejournal.com";
                         $hash->{'src'} = "http://$host/$journal/pic/$rest";
                     }
             

Tags: livejournal, pl, ssafronova
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments