Apache2::URI::unescape_url bug?

Mark Hedges <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <55EEF0B3C5BF2744B2248754D717EE4C4C2117@USASHEXMB02.LYV.LiveNation.com>
Try in a handler.  (Apparently you cannot use Apache2::URI from command line?)

use Apache2::Log ();
use Apache2::URI ();
sub handler {
    my ($r) = @_;
    my $string = "6%2D41913%2FUK1";
    Apache2::URI::unescape($string);
    $r->log_error($string);
}

Log contains: 6-41913/UK1\0UK1

??

-Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.