Commit a167a4b3 authored by Xavier Guimard's avatar Xavier Guimard

Fix path

parent e7ec247f
......@@ -31,8 +31,8 @@ sub new {
$self->env->{PATH_INFO} =~ s|^$tmp|/|;
}
$self->env->{PATH_INFO} ||= '/';
$self->env->{REQUEST_URI} =~ s|^//+|/|g;
$self->{uri} = uri_unescape( $self->env->{REQUEST_URI} );
$self->{uri} =~ s|^//+|/|g;
$self->{data} = {};
$self->{error} = 0;
$self->{respHeaders} = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment