Remove dead code (#2650)

This commit is contained in:
Maxime Besson 2022-06-25 10:37:35 +02:00
parent 4fc253926f
commit f4d5ac0e4f
1 changed files with 0 additions and 4 deletions

View File

@ -25,10 +25,6 @@ sub new {
$self->env->{REQUEST_URI} = $self->env->{X_ORIGINAL_URI}
if ( $self->env->{X_ORIGINAL_URI} );
$self->env->{PATH_INFO} =~ s|//+|/|g;
#if ( my $tmp = $self->script_name ) {
# $self->env->{PATH_INFO} =~ s|^$tmp|/|;
#}
$self->env->{PATH_INFO} ||= '/';
$self->env->{REQUEST_URI} =~ s|^//+|/|g;
$self->{uri} = uri_unescape( $self->env->{REQUEST_URI} );