Quote whitespace-only default values

Parameters that accept whitespace-only values need to have their default
values quoted if they contain only whitespace characters. In 2.2 the
qlafilter is the only module that did not do this.
This commit is contained in:
Markus Mäkelä
2018-07-03 03:09:19 +03:00
parent a1ab09a79f
commit 013dfa79aa

View File

@ -306,7 +306,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
{
PARAM_NEWLINE,
MXS_MODULE_PARAM_QUOTEDSTRING,
" ",
"\" \"",
MXS_MODULE_OPT_NONE
},
{