cvs: /php4/ext/session mod_files.c

From: Date: Thu, 21 Oct 1999 18:52:28 +0000
Subject: cvs: /php4/ext/session mod_files.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-5630@lists.php.net to get a copy of this message
sas Thu Oct 21 14:52:28 1999 EDT Modified files: /php4/ext/session mod_files.c Log: (_ps_files_valid_key): small logic fix Index: php4/ext/session/mod_files.c diff -u php4/ext/session/mod_files.c:1.17 php4/ext/session/mod_files.c:1.18 --- php4/ext/session/mod_files.c:1.17 Thu Oct 21 08:28:36 1999 +++ php4/ext/session/mod_files.c Thu Oct 21 14:51:57 1999 @@ -70,9 +70,9 @@ for(p = key; (c = *p); p++) { /* valid characters are a..z,A..Z,0..9 */ - if(!(c >= 'a' && c <= 'z') || + if(!((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || - (c >= '0' && c <= '9')) { + (c >= '0' && c <= '9'))) { ret = 0; break; }

« previous php.version4 (#5630) next »