From 1bf5fd274f706cfc426dda9453bf12ac87689fcd Mon Sep 17 00:00:00 2001 From: IKEDA Soji Date: Wed, 17 Feb 2021 14:10:24 +0900 Subject: [PATCH] More fixes: Considering templates customized for earlier version. --- src/cgi/wwsympa.fcgi.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cgi/wwsympa.fcgi.in b/src/cgi/wwsympa.fcgi.in index c94eaf1af..4b582a27a 100644 --- a/src/cgi/wwsympa.fcgi.in +++ b/src/cgi/wwsympa.fcgi.in @@ -842,6 +842,7 @@ our %in_regexp = ( 'body' => '.+', 'info' => '.+', 'new_scenario_content' => '.+', + 'blacklist' => '.*', # Compat.<=6.2.60 'blocklist' => '.*', ## Integer @@ -2054,6 +2055,10 @@ sub get_parameters { $param->{'nomenu'} = $in{'nomenu'}; } + # Compatibility to the templates customized for version <=6.2.60: + # 'blacklist' was renamed to 'blocklist'. + $in{'blocklist'} //= $in{'blacklist'} if defined $in{'blacklist'}; + # From CGI URL get {base_url} and {path_cgi} parameters. # Note that other links should keep the nomenu attribute. # NOTE: The base_url is kept for compatibility to Sympa < 6.2.15. The