[Phpmyadmin-git] [SCM] phpMyAdmin branch, MAINT_2_11_11, updated. RELEASE_2_11_11_1-2-g448940b

Marc Delisle lem9 at users.sourceforge.net
Tue Feb 8 14:09:37 CET 2011


The branch, MAINT_2_11_11 has been updated
       via  448940b37b55648248d9a62139b8838feece3931 (commit)
       via  87fad589653478875ba6f86a5c5ceec805d0f8b2 (commit)
      from  61d9e561580ccb4a07d6d0c5695c839a22cc3b78 (commit)


- Log -----------------------------------------------------------------
commit 448940b37b55648248d9a62139b8838feece3931
Author: Marc Delisle <marc at infomarc.info>
Date:   Tue Feb 8 08:07:22 2011 -0500

    2.11.11.2 release

commit 87fad589653478875ba6f86a5c5ceec805d0f8b2
Author: Herman van Rink <rink at initfour.nl>
Date:   Tue Feb 8 07:57:34 2011 -0500

    PMASA-2011-1 fixes

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

Summary of changes:
 ChangeLog                  |    3 +++
 Documentation.html         |    4 ++--
 README                     |    4 ++--
 changelog.php              |   10 +++++++++-
 libraries/Config.class.php |    2 +-
 license.php                |   11 ++++++++++-
 readme.php                 |   10 +++++++++-
 translators.html           |    4 ++--
 8 files changed, 38 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 89fe37c..06a61e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
 $Id$
 $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $
 
+2.11.11.2 (2011-02-08)
+- [security] Path disclosure, see PMASA-2011-1
+
 2.11.11.1 (2010-11-29)
 - bug #3115519 (private) [security] XSS on db search, see PMASA-2010-8
 
diff --git a/Documentation.html b/Documentation.html
index a3f7982..6fadc33 100644
--- a/Documentation.html
+++ b/Documentation.html
@@ -11,7 +11,7 @@
     <link rel="icon" href="./favicon.ico" type="image/x-icon" />
     <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-    <title>phpMyAdmin 2.11.11.1 - Documentation</title>
+    <title>phpMyAdmin 2.11.11.2 - Documentation</title>
     <link rel="stylesheet" type="text/css" href="docs.css" />
 </head>
 
@@ -33,7 +33,7 @@
     <li><a href="#glossary">Glossary</a></li>
 </ul>
 
-<h1>phpMyAdmin 2.11.11.1 Documentation</h1>
+<h1>phpMyAdmin 2.11.11.2 Documentation</h1>
 
 <ul><li><a href="http://www.phpmyadmin.net/">
             phpMyAdmin homepage</a></li>
diff --git a/README b/README
index a1dfb54..9a1d370 100644
--- a/README
+++ b/README
@@ -5,12 +5,12 @@ phpMyAdmin - Readme
 
   A set of PHP-scripts to manage MySQL over the web.
 
-  Version 2.11.11.1
+  Version 2.11.11.2
   -----------------
   http://www.phpmyadmin.net/
 
     Copyright (C) 1998-2000 Tobias Ratschiller <tobias_at_ratschiller.com>
-    Copyright (C) 2001-2010 Marc Delisle <Marc.Delisle_at_cegepsherbrooke.qc.ca>
+    Copyright (C) 2001-2011 Marc Delisle <marc_at_infomarc.info>
                             Olivier Müller <om_at_omnis.ch>
                             Robin Johnson <robbat2_at_users.sourceforge.net>
                             Alexander M. Turek <me_at_derrabus.de>
diff --git a/changelog.php b/changelog.php
index 2b0dc3a..1b4807a 100644
--- a/changelog.php
+++ b/changelog.php
@@ -6,7 +6,15 @@
  * @version $Id$
  */
 
-$changelog = htmlspecialchars(file_get_contents('ChangeLog'));
+$filename = 'ChangeLog';
+
+// Check if the file is available, some distributions remove these.
+if (is_readable($filename)) {
+    $changelog = htmlspecialchars(file_get_contents($filename));
+} else {
+    echo "The $filename file is not available on this system, please visit www.phpmyadmin.net for more information.";
+    exit;
+}
 
 $replaces = array(
     '@(http://[./a-zA-Z0-9.-]*[/a-zA-Z0-9])@'
diff --git a/libraries/Config.class.php b/libraries/Config.class.php
index f1df2e0..755230f 100644
--- a/libraries/Config.class.php
+++ b/libraries/Config.class.php
@@ -85,7 +85,7 @@ class PMA_Config
      */
     function checkSystem()
     {
-        $this->set('PMA_VERSION', '2.11.11.1');
+        $this->set('PMA_VERSION', '2.11.11.2');
         /**
          * @deprecated
          */
diff --git a/license.php b/license.php
index 91927f4..c8c2957 100644
--- a/license.php
+++ b/license.php
@@ -13,5 +13,14 @@
  *
  */
 header('Content-type: text/plain; charset=iso-8859-1');
-readfile('LICENSE');
+
+$filename = 'LICENSE';
+
+// Check if the file is available, some distributions remove these.
+if (is_readable($filename)) {
+    readfile($filename);
+} else {
+    echo "The $filename file is not available on this system, please visit www.phpmyadmin.net for more information.";
+}
+
 ?>
diff --git a/readme.php b/readme.php
index 34fecce..7f59a4e 100644
--- a/readme.php
+++ b/readme.php
@@ -13,5 +13,13 @@
  *
  */
 header('Content-type: text/plain; charset=utf-8');
-readfile('README');
+
+$filename = 'README';
+
+// Check if the file is available, some distributions remove these.
+if (is_readable($filename)) {
+    readfile($filename);
+} else {
+    echo "The $filename file is not available on this system, please visit www.phpmyadmin.net for more information.";
+}
 ?>
diff --git a/translators.html b/translators.html
index f59ca41..27ac0f7 100644
--- a/translators.html
+++ b/translators.html
@@ -8,7 +8,7 @@
     <link rel="icon" href="./favicon.ico" type="image/x-icon" />
     <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-    <title>phpMyAdmin 2.11.11.1 - Official translators</title>
+    <title>phpMyAdmin 2.11.11.2 - Official translators</title>
     <link rel="stylesheet" type="text/css" href="docs.css" />
 </head>
 
@@ -31,7 +31,7 @@
     <li><a href="Documentation.html#glossary">Glossary</a></li>
 </ul>
 
-<h1>phpMyAdmin 2.11.11.1 official translators list</h1>
+<h1>phpMyAdmin 2.11.11.2 official translators list</h1>
 
 <p> Here is the list of the "official translators" of
     phpMyAdmin.</p>


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list