From a065482fe367839c934f9df5454ccce587a6b506 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 8 Oct 2008 00:49:58 +0000 Subject: Bug 458854: The URL to the dependency graph is wrong when using an external webdot server - Patch by Frédéric Buclin r=justdave a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- showdependencygraph.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'showdependencygraph.cgi') 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"; -- cgit v1.2.3-24-g4f1b