changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r18015: Temporary block. Just for one-time verif...

Committer: aurbanowich
Temporary block. Just for one-time verification. LJSUP-7700

U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-01-13 05:33:09 UTC (rev 18014)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-01-13 08:14:34 UTC (rev 18015)
@@ -876,8 +876,15 @@
             return LJ::Request::DECLINED
 
         } elsif ($func eq "journal") {
-
-            unless ($uri =~ m!^/(\w{1,15})(/.*)?$!) {
+            
+# Temporary block. Just for one-time verification. LJSUP-7700
+            if ($uri eq '/yandex_58d720848324d318.txt') {
+                LJ::Request->handler("perl-script");
+                LJ::Request->set_handlers(PerlHandler => sub{ return LJ::Request::OK; });
+                return LJ::Request::OK;
+            } 
+# end of temporary block            
+            elsif ($uri !~ m!^/(\w{1,15})(/.*)?$!) {
                 return LJ::Request::DECLINED if $uri eq "/favicon.ico";
                 my $redir = LJ::run_hook("journal_subdomain_redirect_url",
                                          $host, $uri);

Tags: changelog_bot, 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