From 94fc541fdd0cc0061484f0a5a6d9bdec060cd9ad Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 29 May 2007 20:14:33 +0000 Subject: Better fix for bug 381837: Clicking a bug in the dependency graph will open the search page instead of the bug - 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 b12e65c85..9851a218c 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -65,7 +65,7 @@ sub CreateImagemap { $default = qq{\n}; } - if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*) (\d+)$/) { + if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*) (\d+)(\\n.*)?$/) { my ($leftx, $rightx, $topy, $bottomy, $url, $bugid) = ($1, $3, $2, $4, $5, $6); # Pick up bugid from the mapdata label field. Getting the title from -- cgit v1.2.3-24-g4f1b