1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Don't overwrite previous cookies (bug #539)

This commit is contained in:
Jakub Vrana
2017-04-09 11:03:42 +02:00
parent fb71941daa
commit fb7bd02713
2 changed files with 3 additions and 2 deletions

View File

@@ -481,8 +481,8 @@ function cookie($name, $value, $lifetime = 2592000) { // 2592000 - 30 days
. ($lifetime ? "; expires=" . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT" : "")
. "; path=" . preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"])
. ($HTTPS ? "; secure" : "")
. "; HttpOnly; SameSite=lax"
);
. "; HttpOnly; SameSite=lax",
false);
}
/** Restart stopped session

View File

@@ -1,4 +1,5 @@
Adminer 4.3.1-dev:
Fix permanent logging after logout (bug #539)
PostgreSQL: Fix index size computation in PostgreSQL < 9.0 (regression from 4.3.0)
PostgreSQL: Fix nullable fields in export
PostgreSQL: Support JSON and JSONB data types