mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
do not send cookie when session is passed in URL, same as it happens with GET/POST
This commit is contained in:
parent
34c1426363
commit
a66fbe2d5e
@ -1275,6 +1275,7 @@ PHPAPI void php_session_start(TSRMLS_D)
|
||||
p += lensess + 1;
|
||||
if ((q = strpbrk(p, "/?\\"))) {
|
||||
PS(id) = estrndup(p, q - p);
|
||||
PS(send_cookie) = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user