madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22602: LJSUP-13199: Ability to use JSON RPC fro...

Committer: sbelyaev
LJSUP-13199: Ability to use JSON RPC from l-stat
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2012-08-08 12:26:59 UTC (rev 22601)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2012-08-08 12:40:36 UTC (rev 22602)
@@ -386,6 +386,7 @@
         ($host eq "stat.$LJ::DOMAIN" 
             and LJ::Request->uri !~ /\.bml$/        ## BML is allowed on stat. domain
             and LJ::Request->uri !~ m|/palimg/|     ## PaletteModify actions are processed by other handler
+            and LJ::Request->uri !~ m|^/__api/?|
             ) or
         ($LJ::IS_SSL and LJ::Request->unparsed_uri =~ /\?\?/)
     ){

Tags: livejournal, madeon, pm, sbelyaev
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