From: lpsolit%gmail.com <> Date: Wed, 8 Oct 2008 00:52:53 +0000 (+0000) Subject: Bug 458854: The URL to the dependency graph is wrong when using an external webdot... X-Git-Tag: bugzilla-3.2rc2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e04016b144bb095e0067cf4c01ff5815cb8033b8;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index f7977446ef..f9eb4ed888 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";