From 106cc7b51d4ad031290525d76bd77607d0793063 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 9 Feb 2008 21:06:02 -0800 Subject: [PATCH] * Fix the the default web domain assignment to handle '/' correctly --- Debbugs/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Config.pm b/Debbugs/Config.pm index b54f7c9..bc4a7cf 100644 --- a/Debbugs/Config.pm +++ b/Debbugs/Config.pm @@ -142,7 +142,7 @@ concatenation of L and L =cut -set_default(\%config,'web_domain',$config{web_host}.'/'.$config{web_host_bug_dir}); +set_default(\%config,'web_domain',$config{web_host}.($config{web_host}=~m{/$}?'':'/').$config{web_host_bug_dir}); =item html_suffix $gHTMLSuffix -- 2.39.2