Try the following handler:
package Foo;
use Apache::Request;
sub handler
{
my $r = shift;
my (@vars) = ( 'abc', "abc\0def", "def" );
$r->send_http_header;
$r->print("$_\n") foreach @vars;
}
1;
I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive
no output after the \0. Is this a mod_perl or Apache bug? Or is it a
client bug (using Netscape 4.75) or is it the expected behavior.
-dave
/*==================
www.urth.org
We await the New Sun
==================*/
- Re: Bug in mod_perl Dave Rolsky
- Re: Bug in mod_perl Tom Brown
- Re: Bug in mod_perl Greg Williams
- Re: Bug in mod_perl Ken Williams
- Re: Bug in mod_perl Doug MacEachern
