2heoh (2heoh) wrote in changelog,
2heoh
2heoh
changelog

[livejournal] r20016: LJM-1927: Zero version must be works onl...

Committer: slobin
LJM-1927: Zero version must be works only from supported IP

M LiveJournal.pm
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-09-12 06:22:23 UTC (rev 20015)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-09-12 06:34:35 UTC (rev 20016)
@@ -206,8 +206,9 @@
 
         if ( LJ::Request->notes('method') eq '__setdomsess' ) {
             return redir(LJ::Session->setdomsess_handler())
-        }
-        else {
+        } elsif (LJ::Request->notes('method') eq 'access_denied') {
+            # do not check session
+        } else {
             my $session = LJ::Session->session_from_cookies(
                 tried_fast   => 0,
                 redirect_ref => \$LJ::CACHE_REMOTE_BOUNCE_URL,

Tags: 2heoh, livejournal, pm
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