Commit a065482f authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 458854: The URL to the dependency graph is wrong when using an external…

Bug 458854: The URL to the dependency graph is wrong when using an external webdot server - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
parent 2832a2a7
...@@ -247,7 +247,7 @@ my $webdotbase = Bugzilla->params->{'webdotbase'}; ...@@ -247,7 +247,7 @@ my $webdotbase = Bugzilla->params->{'webdotbase'};
if ($webdotbase =~ /^https?:/) { if ($webdotbase =~ /^https?:/) {
# Remote dot server. We don't hardcode 'urlbase' here in case # Remote dot server. We don't hardcode 'urlbase' here in case
# 'sslbase' is in use. # 'sslbase' is in use.
$webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/g; $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/eg;
my $url = $webdotbase . $filename; my $url = $webdotbase . $filename;
$vars->{'image_url'} = $url . ".gif"; $vars->{'image_url'} = $url . ".gif";
$vars->{'map_url'} = $url . ".map"; $vars->{'map_url'} = $url . ".map";
......
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