[livejournal] r16386: LJ Flat protocol didn't get params

Mar 17, 2010 07:18


Committer: vsukhanovLJ Flat protocol didn't get params

U trunk/cgi-bin/Apache/LiveJournal.pm

Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm 2010-03-17 05:41:11 UTC (rev 16385)
+++ trunk/cgi-bin/Apache/LiveJournal.pm 2010-03-17 07:18:02 UTC (rev 16386)
@@ -1705,11 +1705,7 @@
LJ::Request->content_type("text/plain");

my %out = ();
- my %FORM = ();
- my $content;
- LJ::Request->read($content, LJ::Request->header_in("Content-Length"));
- LJ::decode_url_string($content, \%FORM);
-
+ my %FORM = LJ::Request->post_params;
# the protocol needs the remote IP in just one place, where tracking is done.
$ENV{'_REMOTE_IP'} = LJ::Request->remote_ip();
LJ::do_request(\%FORM, \%out);

vadvs, livejournal, pm

Previous post Next post
Up