Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r20546: LJSV-1406: jbackup.pl failing at parser....

Committer: amyshkin
LJSV-1406: jbackup.pl failing at parser.pm during entry export
U   trunk/cgi-bin/LJ/Session.pm
Modified: trunk/cgi-bin/LJ/Session.pm
===================================================================
--- trunk/cgi-bin/LJ/Session.pm	2011-11-16 07:32:50 UTC (rev 20545)
+++ trunk/cgi-bin/LJ/Session.pm	2011-11-16 08:27:49 UTC (rev 20546)
@@ -591,7 +591,7 @@
     my $domain_cookie = LJ::Session->domain_cookie;
 
     # foreign domain case
-    unless ( $host =~ /$LJ::DOMAIN(:\d+)?$/ ) {
+    unless ( $host =~ /(^|\.)$LJ::DOMAIN(:\d+)?$/ ) {
         return LJ::Session->session_from_external_cookie(\%getopts, @{ $BML::COOKIE{"$domain_cookie\[\]"} || [] });
     }
 

Tags: amyshkin, livejournal, pm, zilogic
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