mirror of
https://github.com/php/php-src.git
synced 2026-03-28 02:02:32 +01:00
Merge branch 'PHP-7.4'
This commit is contained in:
@@ -874,8 +874,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
|
||||
}
|
||||
|
||||
for (i = 0; i < strlen(status); i++) {
|
||||
if (!isalnum(status[i]) && status[i] != '/' && status[i] != '-' && status[i] != '_' && status[i] != '.') {
|
||||
zlog(ZLOG_ERROR, "[pool %s] the status path '%s' must contain only the following characters '[alphanum]/_-.'", wp->config->name, status);
|
||||
if (!isalnum(status[i]) && status[i] != '/' && status[i] != '-' && status[i] != '_' && status[i] != '.' && status[i] != '~') {
|
||||
zlog(ZLOG_ERROR, "[pool %s] the status path '%s' must contain only the following characters '[alphanum]/_-.~'", wp->config->name, status);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@@ -897,8 +897,8 @@ static int fpm_conf_process_all_pools() /* {{{ */
|
||||
}
|
||||
|
||||
for (i = 0; i < strlen(ping); i++) {
|
||||
if (!isalnum(ping[i]) && ping[i] != '/' && ping[i] != '-' && ping[i] != '_' && ping[i] != '.') {
|
||||
zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must containt only the following characters '[alphanum]/_-.'", wp->config->name, ping);
|
||||
if (!isalnum(ping[i]) && ping[i] != '/' && ping[i] != '-' && ping[i] != '_' && ping[i] != '.' && ping[i] != '~') {
|
||||
zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must containt only the following characters '[alphanum]/_-.~'", wp->config->name, ping);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user