Skip to content

Commit 08e4ffe

Browse files
committedFeb 22, 2012
SCRIPT_NAME has to start with a slash.
1 parent 09dac7f commit 08e4ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎wre/lib/WRE/WebguiDemo.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ sub call {
4545
$path =~ s/\Q$id\E//;
4646

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

0 commit comments

Comments
 (0)
Please sign in to comment.