Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 46421 invoked from network); 5 Jan 2011 13:33:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 13:33:26 -0000 Received: (qmail 96980 invoked by uid 500); 5 Jan 2011 13:33:25 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 96742 invoked by uid 500); 5 Jan 2011 13:33:25 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 96734 invoked by uid 99); 5 Jan 2011 13:33:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 13:33:24 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of torsten.foertsch@gmx.net designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mail.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 05 Jan 2011 13:33:19 +0000 Received: (qmail invoked by alias); 05 Jan 2011 13:32:57 -0000 Received: from pD95562B6.dip.t-dialin.net (EHLO opi.home) [217.85.98.182] by mail.gmx.net (mp059) with SMTP; 05 Jan 2011 14:32:57 +0100 X-Authenticated: #1700068 X-Provags-ID: V01U2FsdGVkX1+p0XpYPBmpocIvf7VUvNM6bWXtXpSIRdmbsLCnLG ylxIFtplp6NIEA From: Torsten =?iso-8859-1?q?F=F6rtsch?= To: modperl@perl.apache.org Subject: Re: Problem with PerlTransHandler Date: Wed, 5 Jan 2011 14:32:54 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-desktop; KDE/4.4.4; x86_64; ; ) Cc: "CrAsH-DMX" References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201101051432.55288.torsten.foertsch@gmx.net> X-Y-GMX-Trusted: 0 On Wednesday, January 05, 2011 01:09:22 CrAsH-DMX wrote: > If comment my $params =3D $r->method eq "POST" ? $r->content:$r->args; all > works fine. My mp1 experience is quite a few years old. But I think what you are trying= to=20 achieve is not feasible, at least if your handler does not read the message= =20 body via $r->content. The problem is a call to $r->content reads the message body. If someone=20 (mod_cgi for example) tries to do that later again it can only read the end= of=20 file. If your document is created by a mod_perl handler that uses $r->content the= n=20 your approach might work. Otherwise if it's a normal CGI script or PHP=20 document I doubt it. Apache2 & Mp2 can do input filtering. Torsten F=F6rtsch =2D-=20 Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net