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
==================*/

Reply via email to