Skip to content

Commit

Permalink
More fixes: Considering templates customized for earlier version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedas committed Feb 17, 2021
1 parent 7ab10f4 commit 1bf5fd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ our %in_regexp = (
'body' => '.+',
'info' => '.+',
'new_scenario_content' => '.+',
'blacklist' => '.*', # Compat.<=6.2.60
'blocklist' => '.*',

## Integer
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1bf5fd2

Please sign in to comment.