The branch, master has been updated
       via  fbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7 (commit)
      from  ed66e5c66843eb77364e7ecb8ef2495791b8605f (commit)


- Log -----------------------------------------------------------------
commit fbc2bbdc49865d8dc39f80e0ea70e5d26da39ec7
Author: Michal Čihař <[email protected]>
Date:   Wed Jul 20 15:04:52 2011 +0200

    Unlock session while serving JS messages

-----------------------------------------------------------------------

Summary of changes:
 js/messages.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/js/messages.php b/js/messages.php
index 2ab89dd..1345a8e 100644
--- a/js/messages.php
+++ b/js/messages.php
@@ -19,6 +19,8 @@ header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) 
. ' GMT');
 // non-js-compatible stuff like DOCTYPE
 define('PMA_MINIMUM_COMMON', true);
 require_once './libraries/common.inc.php';
+// Close session early as we won't write anything there
+session_write_close();
 // But this one is needed for PMA_escapeJsString()
 require_once './libraries/js_escape.lib.php';
 


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to