Skip to content

Commit 9fb89c3

Browse files
committed
Hardened some configuration constraints.
1 parent b08f95e commit 9fb89c3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,7 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
8787
[2022.08.18; Maikuolan]: Added L10N for Persian/Farsi, Hebrew, Malay, and Ukrainian.
8888

8989
[2022.09.26; Maikuolan]: Configuration multiline support added (necessary in order to properly facilitate the custom headers/footers feature introduced earlier today).
90+
91+
[2022.10.12; BaseMax]: Improved L10N for Persian/Farsi.
92+
93+
[2022.10.25; Maikuolan]: Hardened some configuration constraints.

assets/config.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Configuration defaults file (last modified: 2022.09.22).
10+
# This file: Configuration defaults file (last modified: 2022.10.25).
1111
##/
1212

1313
core:
@@ -147,7 +147,9 @@ core:
147147
bn: "বাংলা"
148148
de: "Deutsch"
149149
es: "Español"
150+
fa: "فارسی"
150151
fr: "Français"
152+
he: "עברית"
151153
hi: "हिंदी"
152154
id: "Bahasa Indonesia"
153155
it: "Italiano"
@@ -422,12 +424,16 @@ supplementary_cache_options:
422424
memcached_port:
423425
type: "int"
424426
default: 11211
427+
min: 1
428+
max: 65535
425429
redis_host:
426430
type: "string"
427431
default: "localhost"
428432
redis_port:
429433
type: "int"
430434
default: 6379
435+
min: 1
436+
max: 65535
431437
redis_timeout:
432438
type: "float"
433439
step: "any"

0 commit comments

Comments
 (0)