Committer: vtroitsky
OPSC-289: __rpc_ctxpopup ajax endpoint enabled on games.$LJHOME domain.U trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm =================================================================== --- trunk/cgi-bin/Apache/LiveJournal.pm 2011-02-10 03:45:56 UTC (rev 18250) +++ trunk/cgi-bin/Apache/LiveJournal.pm 2011-02-10 05:32:11 UTC (rev 18251) @@ -922,7 +922,7 @@ LJ::get_remote(); return redir(LJ::Session->setdomsess_handler()) if LJ::Request->uri eq "/__setdomsess"; - return LJ::URI->bml_handler($LJ::AJAX_URI_MAP{$1}) if (LJ::Request->uri =~ /^\/__rpc_((?:ljapp|lj_times).*)$/); + return LJ::URI->bml_handler($LJ::AJAX_URI_MAP{$1}) if (LJ::Request->uri =~ /^\/__rpc_((?:ljapp|lj_times|ctxpopup).*)$/); return remote_domsess_bounce() if LJ::remote_bounce_url(); return $bml_handler->("$LJ::HOME/htdocs/games/game.bml");