aboutsummaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-07-20 17:15:54 +0000
committerlpsolit%gmail.com <>2007-07-20 17:15:54 +0000
commit5d82939ef8b5a7fdc238ee15067b33fd0c17a242 (patch)
treeeb28dbe3d42239b117c7806e862f6328f9d46c52 /showdependencygraph.cgi
parentc20df721aac9a4d95f76968ff6e938b296d2c056 (diff)
downloadbugs-5d82939ef8b5a7fdc238ee15067b33fd0c17a242.tar
bugs-5d82939ef8b5a7fdc238ee15067b33fd0c17a242.tar.gz
bugs-5d82939ef8b5a7fdc238ee15067b33fd0c17a242.tar.bz2
bugs-5d82939ef8b5a7fdc238ee15067b33fd0c17a242.tar.xz
bugs-5d82939ef8b5a7fdc238ee15067b33fd0c17a242.zip
Bug 327914: Make Bugzilla::Util::perform_substs() go away - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
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 {