Re: [mp2] scalar $r->args() misbehaves with apache::compat.

[prev] [thread] [next] [Date index for 2005/02/09]

From: Max Baker
Subject: Re: [mp2] scalar $r->args() misbehaves with apache::compat.
Date: 20:21 on 09 Feb 2005
On Tue, Feb 08, 2005 at 09:16:54PM -0500, Stas Bekman wrote:
> Max Baker wrote:
> >-------------8<---------- Start Bug Report ------------8<----------
> >1. Problem Description:
> >
> >[mp2] While using Apache::compat C<scalar $r->args()> returns 
> >"Apache::Request::Table=HASH(0x98d0ef8)".
> >It should return the full query string.
> 
> Did you forget to attach the patch, Max?
> 
> It should be as simple as returning $r->args if wantarray is false. it's a 
> pure perl code after all.
> 
> and a new sub-test to test this case would be nice too.
> 
> Thanks Max.

Stas,

I haven't started looking at the internals of mod_perl2 yet, so I didn't
venture a patch.  I'm just trying to port over an existing Mason application
to mod_perl2.

Let me know if there's another way I could test it for you.

Thanks,
-m

Re: [mp2] scalar $r->args() misbehaves with apache::compat.
Max Baker 20:21 on 09 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52