summaryrefslogtreecommitdiff
path: root/ext/session/mod_files.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-07-27 15:33:16 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-07-27 15:33:16 +0000
commit96324fb67ff399c071d2af73db82f292c7af9ec6 (patch)
treeff2f03b4aeb6c719282971b2b750eb83699165f1 /ext/session/mod_files.c
parentbcc8854eaa2b55a3cc9b2a1c8e9a78201a575bd1 (diff)
downloadphp-git-96324fb67ff399c071d2af73db82f292c7af9ec6.tar.gz
An improved fix for bug #38224
Diffstat (limited to 'ext/session/mod_files.c')
-rw-r--r--ext/session/mod_files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index 4c2a0a03d9..c4ae79310c 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -152,6 +152,7 @@ static void ps_files_open(ps_files *data, const char *key TSRMLS_DC)
if (!ps_files_valid_key(key)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'");
+ PS(invalid_session_id) = 1;
return;
}
if (!ps_files_path_create(buf, sizeof(buf), data, key))