Allow empty socket (bug #1452142).

This commit is contained in:
Michal Čihař
2006-03-17 10:17:58 +00:00
parent d40a1dab40
commit a2f7bc01de
2 changed files with 3 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2006-03-17 Michal Čihař <michal@cihar.com>
* scripts/setup.php: Allow empty socket (bug #1452142).
2006-03-16 Marc Delisle <lem9@users.sourceforge.net> 2006-03-16 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php: undefined variable when a BLOB is NULL * libraries/display_tbl.lib.php: undefined variable when a BLOB is NULL
* libraries/Theme_Manager.class.php: XSS vulnerability * libraries/Theme_Manager.class.php: XSS vulnerability

View File

@@ -1224,10 +1224,6 @@ switch ($action) {
message('error', 'Empty hostname!'); message('error', 'Empty hostname!');
$err = TRUE; $err = TRUE;
} }
if ($new_server['connect_type'] == 'socket' && empty($new_server['socket'])) {
message('error', 'Empty socket with socket connection seleted!');
$err = TRUE;
}
if ($new_server['auth_type'] == 'config' && empty($new_server['user'])) { if ($new_server['auth_type'] == 'config' && empty($new_server['user'])) {
message('error', 'Empty username while using config authentication method!'); message('error', 'Empty username while using config authentication method!');
$err = TRUE; $err = TRUE;