wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r16126: LJSUP-5445

Committer: gprochaev
LJSUP-5445

U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2010-01-25 08:24:36 UTC (rev 16125)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2010-01-25 08:38:08 UTC (rev 16126)
@@ -259,9 +259,6 @@
     my $args = LJ::Request->args;
     my $args_wq = $args ? "?$args" : "";
     my $host = LJ::Request->header_in("Host");
-warn "HOST: $host";
-warn "URI: " . LJ::Request->uri;
-warn "Filename: " . LJ::Request->filename;
     my $hostport = ($host =~ s/:\d+$//) ? $& : "";
     $host =~ s/\.$//; ## 'www.livejournal.com.' is a valid DNS hostname
 
@@ -288,7 +285,6 @@
 #=head
     my $bml_handler = sub {
         my $filename = shift;
-warn "BML HANDLER: filename=$filename";
         LJ::Request->handler("perl-script");
         LJ::Request->notes("bml_filename" => $filename);
         LJ::Request->push_handlers(PerlHandler => \&Apache::BML::handler);
@@ -371,7 +367,6 @@
     if ($LJ::DOMAIN_WEB && LJ::Request->method eq "GET" &&
         $host eq $LJ::DOMAIN && $LJ::DOMAIN_WEB ne $LJ::DOMAIN)
     {
-warn "REDIRECT TO SITEROOT";
         my $url = "$LJ::SITEROOT$uri";
         $url .= "?" . $args if $args;
         return redir($url);
@@ -435,7 +430,6 @@
     my $journal_view = sub {
         my $opts = shift;
         $opts ||= {};
-warn "Journal view";
 
         my $orig_user = $opts->{'user'};
         $opts->{'user'} = LJ::canonical_username($opts->{'user'});
@@ -594,7 +588,6 @@
         my $mode = undef;
         my $pe;
         my $ljentry;
-warn "Determine view: uuri=$uuri";
 
         # if favicon, let filesystem handle it, for now, until
         # we have per-user favicons.
@@ -977,7 +970,6 @@
         return Apache::BML::handler();
     }
 #=cut
-warn "End of trans";
 
     return LJ::Request::DECLINED
 }

Tags: livejournal, pm, wisest-owl
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