summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 9851a218c..4842f484d 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -244,8 +244,10 @@ chmod 0777, $filename;
my $webdotbase = Bugzilla->params->{'webdotbase'};
if ($webdotbase =~ /^https?:/) {
- # Remote dot server
- my $url = perform_substs($webdotbase) . $filename;
+ # Remote dot server. We don't hardcode 'urlbase' here in case
+ # 'sslbase' is in use.
+ $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/g;
+ my $url = $webdotbase . $filename;
$vars->{'image_url'} = $url . ".gif";
$vars->{'map_url'} = $url . ".map";
} else {