vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r16323: LJSUP-5445: revert tiny changes in LJ::R...

Committer: vsukhanov
LJSUP-5445: revert tiny changes in LJ::Request::Apache.
Apache::Request->instance may crash Apache.
U   trunk/cgi-bin/LJ/Request/Apache.pm
Modified: trunk/cgi-bin/LJ/Request/Apache.pm
===================================================================
--- trunk/cgi-bin/LJ/Request/Apache.pm	2010-03-04 07:46:15 UTC (rev 16322)
+++ trunk/cgi-bin/LJ/Request/Apache.pm	2010-03-04 07:47:49 UTC (rev 16323)
@@ -46,7 +46,7 @@
     my $r     = shift;
 
     $instance = bless {}, $class;
-    $instance->{apr} = Apache::Request->instance($r);
+    $instance->{apr} = Apache::Request->new($r);
     $instance->{r} = $r;
     $instance->{apr}->parse;
     return $instance;

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