Geoffrey Young wrote:
> 
> > -----Original Message-----
> > From: Andrew Fuqua [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, August 14, 2000 12:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: $r->notes with slashes
> >
> >
> > I'm trying to pass a path name with slashes as the value of a
> > note, and
> > when I try to retrieve the note from another handler in the same
> > request, the note is not there.  Code goes like this:
> >
> > in a PerlInitHandler:
> > $r->notes('dir_name' => '/some/dir/name/');
> >
> > later, in a PerlAuthzHandler:
> > my $dir_name = $r->notes('dir_name');
> >
> > and $dir_name is empty. :(   I can set and retrieve the note just fine
> > as long as there are no slashes in the note.
> 
> try pnotes:
> $r->pnotes(dir_name => $some_string);
> or
> $r->pnotes(dir_name => \$some_string);

If that works, then $r->notes is broken and needs to be fixed.  My guess
is that it would be an Apache problem, not a mod_perl specific one.

Reply via email to