sas Thu Feb 20 01:18:16 2003 EDT
Modified files:
/php4/ext/session session.c
Log:
generally urlencode parameters
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.354 php4/ext/session/session.c:1.355
--- php4/ext/session/session.c:1.354 Tue Feb 18 14:29:38 2003
+++ php4/ext/session/session.c Thu Feb 20 01:18:16 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: session.c,v 1.354 2003/02/18 19:29:38 sas Exp $ */
+/* $Id: session.c,v 1.355 2003/02/20 06:18:16 sas Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1043,7 +1043,7 @@
if (PS(apply_trans_sid)) {
php_url_scanner_reset_vars(TSRMLS_C);
- php_url_scanner_add_var(PS(session_name), strlen(PS(session_name)),
PS(id), strlen(PS(id)), 0 TSRMLS_CC);
+ php_url_scanner_add_var(PS(session_name), strlen(PS(session_name)),
+PS(id), strlen(PS(id)), 1 TSRMLS_CC);
}
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php