vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17438: LJSUP-6922: disable "REFERER" warning.

Committer: vsukhanov
LJSUP-6922: disable "REFERER" warning.
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2010-09-23 07:57:56 UTC (rev 17437)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2010-09-23 08:56:02 UTC (rev 17438)
@@ -433,7 +433,9 @@
     # referer.  clients and such don't, so ignore them.
     my $referer = LJ::Request->header_in("Referer");
     if ($referer && LJ::Request->method eq 'POST' && !LJ::check_referer('', $referer)) {
-       LJ::Request->log_error("REFERER WARNING: POST to $uri from $referer");
+       ## uncomment log statement after adding some code in this if-block.
+       ## LJ::Request->log_error("REFERER WARNING: POST to $uri from $referer");
+       ## ...
     }
 
     my %GET = LJ::Request->args;

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