|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patch fpm_conf_ignore_ts.patch for FPM related Bug #53506Patch version 2010-12-09 12:58 UTCReturn 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");
 		}
 | 
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 05:00:02 2025 UTC |