Re: Apache2::URI::unescape_url bug?
David Booth <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On 06/26/2014 08:42 PM, Mark Hedges wrote:
> 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
>
> ??
Not sure what is the intent of your question/comment, but I often use
uri_unescape in URI::Escape and it seems to work fine.
David