From 6891e6abdf3c29caa465aefe80587de1db3a91ff Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 29 Jan 2016 20:59:58 +0100 Subject: [PATCH] Revert "refix #69111 and one related test" This reverts commit 80f7b0125875116fdbcdaf48cf8b1bbf93cb378c. Conflicts: ext/session/mod_files.c --- ext/session/mod_files.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index e2a63036db..b380cfe86b 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -170,11 +170,6 @@ static void ps_files_open(ps_files *data, const char *key) ps_files_close(data); if (php_session_valid_key(key) == FAILURE) { - if (data->basedir) { - efree(data->basedir); - data->basedir = NULL; - data->basedir_len = 0; - } php_error_docref(NULL, E_WARNING, "The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'"); return; } -- 2.40.0