diff --git a/ChangeLog b/ChangeLog
index d92f0b2fc..7f2dd1ff6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -55,6 +55,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
because files generated by Excel don't have any enclosing character
- bug #1799691 [export] "Propose table structure" and Export
- bug #1884911 [GUI] Space usage
+- bug #1863326 [GUI] Wrong error message / no edit (Suhosin)
2.11.4.0 (2008-01-12)
- bug #1843428 [GUI] Space issue with DROP/DELETE/ALTER TABLE
diff --git a/Documentation.html b/Documentation.html
index 5f8e3e123..f44a6dabf 100644
--- a/Documentation.html
+++ b/Documentation.html
@@ -571,6 +571,11 @@ GRANT ALL PRIVILEGES ON user_base.* TO 'real_user'@localhost IDENTIFIED BY 'real
If you do not want to use those features set this variable to
TRUE to stop this message from appearing.
+
$cfg['SuhosinDisableWarning'] boolean
+ A warning is displayed on the main page if Suhosin is detected.
+ You can set this parameter to TRUE to stop this message
+ from appearing.
+
$cfg['blowfish_secret'] string
The "cookie" auth_type uses blowfish
algorithm to encrypt the password.
@@ -2810,6 +2815,19 @@ RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
pack/unpack functions in code. Only solution is to use mcrypt extension
which works fine in this case.
+
+
+ Yes but the default configuration values of Suhosin are known to cause
+ problems with some operations, for example editing a table with many
+ columns and no primary key. Tuning information is available at
+
+ http://www.hardened-php.net/hphp/troubleshooting.html,
+ although the parameter names have changed (suhosin instead
+ of hphp). See also the
+ SuhosinDisableWarning directive.
+
+
Configuration
diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php
index eb7770bbb..14ca4c436 100644
--- a/lang/afrikaans-utf-8.inc.php
+++ b/lang/afrikaans-utf-8.inc.php
@@ -1070,4 +1070,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php
index d2e40023a..2f077a0f5 100644
--- a/lang/albanian-utf-8.inc.php
+++ b/lang/albanian-utf-8.inc.php
@@ -1069,4 +1069,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php
index 6ecb5cb64..aecace8e0 100644
--- a/lang/arabic-utf-8.inc.php
+++ b/lang/arabic-utf-8.inc.php
@@ -1071,4 +1071,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php
index e5673b1bf..439b89819 100644
--- a/lang/azerbaijani-utf-8.inc.php
+++ b/lang/azerbaijani-utf-8.inc.php
@@ -1066,4 +1066,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php
index d4cca0841..b1d5bfc51 100644
--- a/lang/basque-utf-8.inc.php
+++ b/lang/basque-utf-8.inc.php
@@ -1063,4 +1063,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/belarusian_cyrillic-utf-8.inc.php b/lang/belarusian_cyrillic-utf-8.inc.php
index 0efa303fa..16f422533 100644
--- a/lang/belarusian_cyrillic-utf-8.inc.php
+++ b/lang/belarusian_cyrillic-utf-8.inc.php
@@ -1046,4 +1046,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/belarusian_latin-utf-8.inc.php b/lang/belarusian_latin-utf-8.inc.php
index aac8c201d..fdad3e9ed 100644
--- a/lang/belarusian_latin-utf-8.inc.php
+++ b/lang/belarusian_latin-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php
index 4bb01b930..b99764fe7 100644
--- a/lang/bosnian-utf-8.inc.php
+++ b/lang/bosnian-utf-8.inc.php
@@ -1069,4 +1069,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php
index 0980bf677..715d5612b 100644
--- a/lang/brazilian_portuguese-utf-8.inc.php
+++ b/lang/brazilian_portuguese-utf-8.inc.php
@@ -1043,4 +1043,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php
index 29aa92cda..fbe5c89ae 100644
--- a/lang/bulgarian-utf-8.inc.php
+++ b/lang/bulgarian-utf-8.inc.php
@@ -1066,4 +1066,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php
index 0f6ba5082..ef2540242 100644
--- a/lang/catalan-utf-8.inc.php
+++ b/lang/catalan-utf-8.inc.php
@@ -1039,4 +1039,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/chinese_simplified-utf-8.inc.php b/lang/chinese_simplified-utf-8.inc.php
index 82448eff9..276ce9e79 100644
--- a/lang/chinese_simplified-utf-8.inc.php
+++ b/lang/chinese_simplified-utf-8.inc.php
@@ -1071,4 +1071,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/chinese_traditional-utf-8.inc.php b/lang/chinese_traditional-utf-8.inc.php
index 5b1649804..e98412f5c 100644
--- a/lang/chinese_traditional-utf-8.inc.php
+++ b/lang/chinese_traditional-utf-8.inc.php
@@ -1050,4 +1050,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php
index fdd34cd40..5d0d3e0fd 100644
--- a/lang/croatian-utf-8.inc.php
+++ b/lang/croatian-utf-8.inc.php
@@ -1044,4 +1044,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php
index 0e00d9e52..146fa4fd8 100644
--- a/lang/czech-utf-8.inc.php
+++ b/lang/czech-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php
index 2d32e7c44..7a99ab2f1 100644
--- a/lang/danish-utf-8.inc.php
+++ b/lang/danish-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php
index e3ef84a57..45b1ff2c6 100644
--- a/lang/dutch-utf-8.inc.php
+++ b/lang/dutch-utf-8.inc.php
@@ -1067,4 +1067,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php
index bfc7411ed..fa5996a15 100644
--- a/lang/english-utf-8.inc.php
+++ b/lang/english-utf-8.inc.php
@@ -909,6 +909,7 @@ $strStructureForView = 'Structure for view';
$strStructure = 'Structure';
$strSubmit = 'Submit';
$strSuccess = 'Your SQL query has been executed successfully';
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.';
$strSum = 'Sum';
$strSwedish = 'Swedish';
$strSwitchToDatabase = 'Switch to copied database';
diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php
index 3ca4b7651..ab804f89b 100644
--- a/lang/estonian-utf-8.inc.php
+++ b/lang/estonian-utf-8.inc.php
@@ -1051,4 +1051,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php
index 319da61ac..9cb8ac939 100644
--- a/lang/finnish-utf-8.inc.php
+++ b/lang/finnish-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php
index 3706d985b..e2c9b629a 100644
--- a/lang/french-utf-8.inc.php
+++ b/lang/french-utf-8.inc.php
@@ -1042,4 +1042,5 @@ $strYes = 'Oui';
$strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.';
$strZip = '"zippé"';
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php
index 42aa55f5e..f3c604917 100644
--- a/lang/galician-utf-8.inc.php
+++ b/lang/galician-utf-8.inc.php
@@ -1044,4 +1044,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php
index 373f11522..d0a6189db 100644
--- a/lang/georgian-utf-8.inc.php
+++ b/lang/georgian-utf-8.inc.php
@@ -1071,4 +1071,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php
index b7e367997..dcea9156d 100644
--- a/lang/german-utf-8.inc.php
+++ b/lang/german-utf-8.inc.php
@@ -1051,4 +1051,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php
index 391b4692f..e4cb7d484 100644
--- a/lang/greek-utf-8.inc.php
+++ b/lang/greek-utf-8.inc.php
@@ -1068,4 +1068,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/hebrew-utf-8.inc.php b/lang/hebrew-utf-8.inc.php
index 06be0f453..ef5128563 100644
--- a/lang/hebrew-utf-8.inc.php
+++ b/lang/hebrew-utf-8.inc.php
@@ -1063,4 +1063,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php
index 6038e2359..e8d204df0 100644
--- a/lang/hindi-utf-8.inc.php
+++ b/lang/hindi-utf-8.inc.php
@@ -1071,4 +1071,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php
index c3636b32e..fa970755f 100644
--- a/lang/hungarian-utf-8.inc.php
+++ b/lang/hungarian-utf-8.inc.php
@@ -1062,4 +1062,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php
index 5e345972e..2793858ca 100644
--- a/lang/indonesian-utf-8.inc.php
+++ b/lang/indonesian-utf-8.inc.php
@@ -1061,4 +1061,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php
index 74a11b0f4..049090493 100644
--- a/lang/italian-utf-8.inc.php
+++ b/lang/italian-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php
index 0fb4d6fe4..90bc6adf4 100644
--- a/lang/japanese-utf-8.inc.php
+++ b/lang/japanese-utf-8.inc.php
@@ -1049,4 +1049,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php
index c6214071f..cfbf8a46e 100644
--- a/lang/korean-utf-8.inc.php
+++ b/lang/korean-utf-8.inc.php
@@ -1066,4 +1066,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php
index cfd7a2cb1..0c7c78042 100644
--- a/lang/latvian-utf-8.inc.php
+++ b/lang/latvian-utf-8.inc.php
@@ -1068,4 +1068,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php
index 27e1a3046..c43669b2d 100644
--- a/lang/lithuanian-utf-8.inc.php
+++ b/lang/lithuanian-utf-8.inc.php
@@ -1061,4 +1061,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/macedonian_cyrillic-utf-8.inc.php b/lang/macedonian_cyrillic-utf-8.inc.php
index ac23ca4c8..bd56dcdcc 100644
--- a/lang/macedonian_cyrillic-utf-8.inc.php
+++ b/lang/macedonian_cyrillic-utf-8.inc.php
@@ -1046,4 +1046,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php
index 8adc69752..f7b78050f 100644
--- a/lang/malay-utf-8.inc.php
+++ b/lang/malay-utf-8.inc.php
@@ -1083,4 +1083,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/mongolian-utf-8.inc.php b/lang/mongolian-utf-8.inc.php
index 2f162128b..4245f1efe 100644
--- a/lang/mongolian-utf-8.inc.php
+++ b/lang/mongolian-utf-8.inc.php
@@ -1066,4 +1066,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php
index 8ee52bf54..e2e304cf2 100644
--- a/lang/norwegian-utf-8.inc.php
+++ b/lang/norwegian-utf-8.inc.php
@@ -1043,4 +1043,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php
index 83de083a5..8e5d465f1 100644
--- a/lang/persian-utf-8.inc.php
+++ b/lang/persian-utf-8.inc.php
@@ -1068,4 +1068,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php
index c7f6c84d8..c4f2690a7 100644
--- a/lang/polish-utf-8.inc.php
+++ b/lang/polish-utf-8.inc.php
@@ -1039,4 +1039,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php
index 7549a7fd2..07ea3d3c0 100644
--- a/lang/portuguese-utf-8.inc.php
+++ b/lang/portuguese-utf-8.inc.php
@@ -1072,4 +1072,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php
index 4bf36cec4..a1c392d96 100644
--- a/lang/romanian-utf-8.inc.php
+++ b/lang/romanian-utf-8.inc.php
@@ -1064,4 +1064,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php
index 03173c0dc..ddd04e2a9 100644
--- a/lang/russian-utf-8.inc.php
+++ b/lang/russian-utf-8.inc.php
@@ -1046,4 +1046,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php
index b4a9d1126..ec8db1613 100644
--- a/lang/serbian_cyrillic-utf-8.inc.php
+++ b/lang/serbian_cyrillic-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php
index 22681de82..c869c46f0 100644
--- a/lang/serbian_latin-utf-8.inc.php
+++ b/lang/serbian_latin-utf-8.inc.php
@@ -1045,4 +1045,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/sinhala-utf-8.inc.php b/lang/sinhala-utf-8.inc.php
index 3470ef8ab..177121fe7 100644
--- a/lang/sinhala-utf-8.inc.php
+++ b/lang/sinhala-utf-8.inc.php
@@ -1048,4 +1048,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php
index 91f9202e1..d9da81a2a 100644
--- a/lang/slovak-utf-8.inc.php
+++ b/lang/slovak-utf-8.inc.php
@@ -1046,4 +1046,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php
index 07b93c41a..e4a3cc0c3 100644
--- a/lang/slovenian-utf-8.inc.php
+++ b/lang/slovenian-utf-8.inc.php
@@ -1065,4 +1065,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php
index 2e4740233..d838327b5 100644
--- a/lang/spanish-utf-8.inc.php
+++ b/lang/spanish-utf-8.inc.php
@@ -1041,4 +1041,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php
index 1b974162d..b81fe17a6 100644
--- a/lang/swedish-utf-8.inc.php
+++ b/lang/swedish-utf-8.inc.php
@@ -1044,4 +1044,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/tatarish-utf-8.inc.php b/lang/tatarish-utf-8.inc.php
index b2db55830..0696c5cae 100644
--- a/lang/tatarish-utf-8.inc.php
+++ b/lang/tatarish-utf-8.inc.php
@@ -1057,4 +1057,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php
index a833cf761..1bb3cf084 100644
--- a/lang/thai-utf-8.inc.php
+++ b/lang/thai-utf-8.inc.php
@@ -1067,4 +1067,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php
index 033091ea4..b0c352ef9 100644
--- a/lang/turkish-utf-8.inc.php
+++ b/lang/turkish-utf-8.inc.php
@@ -1051,4 +1051,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php
index d0b65b16b..c29804bc2 100644
--- a/lang/ukrainian-utf-8.inc.php
+++ b/lang/ukrainian-utf-8.inc.php
@@ -1065,4 +1065,5 @@ $strInterface = 'Interface'; //to translate
$strMySQLServerInformation = 'MySQL server information'; //to translate
$strWebServerInformation = 'Web server information'; //to translate
$strAboutphpMyAdmin = 'About phpMyAdmin'; //to translate
+$strSuhosin = 'Server running with Suhosin. Please refer to %sdocumentation%s for possible issues.'; //to translate
?>
diff --git a/libraries/config.default.php b/libraries/config.default.php
index f8e4f748a..561307d76 100644
--- a/libraries/config.default.php
+++ b/libraries/config.default.php
@@ -46,6 +46,13 @@ $cfg['PmaAbsoluteUri'] = '';
*/
$cfg['PmaNoRelation_DisableWarning'] = false;
+/**
+ * Disable the default warning that is displayed if Suhosin is detected
+ *
+ * @global boolean $cfg['SuhosinDisableWarning']
+ */
+$cfg['SuhosinDisableWarning'] = false;
+
/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
diff --git a/main.php b/main.php
index de5f66b61..f92f95693 100644
--- a/main.php
+++ b/main.php
@@ -285,6 +285,14 @@ if (function_exists('PMA_DBI_get_client_info')) {
}
unset($_client_info);
}
+
+/**
+ * Warning about Suhosin
+ */
+if ($cfg['SuhosinDisableWarning'] == false && @ini_get('suhosin.request.max_value_length')) {
+ trigger_error(PMA_sanitize(sprintf($strSuhosin, '[a@./Documentation.html#faq1_38@_blank]', '[/a]')), E_USER_WARNING);
+ }
+
/**
* prints list item for main page
*