perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: cvs commit: modperl/src/modules/perl Apache.xs
Date Tue, 15 Aug 2000 17:22:09 GMT
On Mon, 14 Aug 2000, brian moseley wrote:

> On 15 Aug 2000 wrote:
> >   Log:
> >   fix $r->args(undef)
> speaking of which... does $r->args handle multiple args with
> the same name correctly? the docs imply that it doesn't. i
> haven't tried it myself to see.

what do you mean?  args in or out?  $r->args($string) just does a blind
copy.  @args = $r->args just splits on &,=, it's up to the caller to deal
with multiple args of the same name.
> if i'm using Apache::Request, does setting a param get
> translated back down into $r->args? prolly not huh.

> i recently had the situation in webmail where i had to
> unescape, utf8-encode, and re-escape each param value, and
> then reformulate the query string. would have been cool if i
> could have just stepped through $r->param and set the values
> for each param, and then used $r->args at the very end.

yeah, i think i had to do something like that in webmail/calendar, there
might even be a comment like #should add something like this to libapreq
just haven't got around to it yet ;-/

View raw message