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

Reply via email to