Skip to content

Commit

Permalink
Too many slashes makes Gooey an unhappy URL to asset resolver.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Feb 22, 2012
1 parent 08e4ffe commit a552e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/lib/WRE/WebguiDemo.pm
Expand Up @@ -42,7 +42,7 @@ sub call {
my $orig_path_info = my $path = $env->{PATH_INFO};
my $orig_script_name = $env->{SCRIPT_NAME};

$path =~ s/\Q$id\E//;
$path =~ s/\/\Q$id\E//;

$env->{PATH_INFO} = $path;
$env->{SCRIPT_NAME} .= '/'.$id;
Expand Down

0 comments on commit a552e9d

Please sign in to comment.