summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-10-08 02:49:58 +0200
committerlpsolit%gmail.com <>2008-10-08 02:49:58 +0200
commita065482fe367839c934f9df5454ccce587a6b506 (patch)
tree9b3445a16e855a312208bb67fee369cfc3314d02 /showdependencygraph.cgi
parent2832a2a7c7cf3d22e664141476b7a762e0785a62 (diff)
downloadbugzilla-a065482fe367839c934f9df5454ccce587a6b506.tar.gz
bugzilla-a065482fe367839c934f9df5454ccce587a6b506.tar.xz
Bug 458854: The URL to the dependency graph is wrong when using an external webdot server - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 327f73c9d..6f2a95503 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -247,7 +247,7 @@ my $webdotbase = Bugzilla->params->{'webdotbase'};
if ($webdotbase =~ /^https?:/) {
# Remote dot server. We don't hardcode 'urlbase' here in case
# 'sslbase' is in use.
- $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/g;
+ $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/eg;
my $url = $webdotbase . $filename;
$vars->{'image_url'} = $url . ".gif";
$vars->{'map_url'} = $url . ".map";