php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #53506
Patch COLLATION_CHARACTER_SET_APPLICABILITY revision 2020-07-30 22:21 UTC by Admin at gmail dot com
Patch fpm_conf_ignore_ts.patch revision 2010-12-09 12:58 UTC by d dot hagen at mittwald dot de

Patch fpm_conf_ignore_ts.patch for FPM related Bug #53506

Patch version 2010-12-09 12:58 UTC

Return to Bug #53506 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: d.hagen@mittwald.de

--- sapi/fpm/fpm/fpm_conf.c_org	2010-07-06 13:37:19.000000000 +0200
+++ sapi/fpm/fpm/fpm_conf.c	2010-12-09 13:34:55.000000000 +0100
@@ -151,6 +151,7 @@
 
 	for (i=0; i<strlen(val); i++) {
 		if ( i == 0 && val[i] == '-' ) continue;
+       	if (val[i] == ' ' || val[i] == '\t' ) continue;
 		if (val[i] < '0' || val[i] > '9') {
 			return("is not a valid number (greater or equal 
than zero");
 		}

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC