Skip to content
Permalink
Browse files

SCRIPT_NAME has to start with a slash.

  • Loading branch information...
perlDreamer committed Feb 22, 2012
1 parent 09dac7f commit 08e4ffeaf58954ebc62f8d74806c9e432fe18fce
Showing with 1 addition and 1 deletion.
  1. +1 −1 wre/lib/WRE/WebguiDemo.pm
@@ -45,7 +45,7 @@ sub call {
$path =~ s/\Q$id\E//;

$env->{PATH_INFO} = $path;
$env->{SCRIPT_NAME} .= $id;
$env->{SCRIPT_NAME} .= '/'.$id;
return $self->response_cb($app->($env), sub {
$env->{PATH_INFO} = $orig_path_info;
$env->{SCRIPT_NAME} = $orig_script_name;

0 comments on commit 08e4ffe

Please sign in to comment.
You can’t perform that action at this time.