fixed regex
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-12-12 Garvin Hicking <juststayalittlebitlonger@supergarv.de>
|
||||
* export.php: Fixed Regex
|
||||
|
||||
2003-12-11 Michal Cihar <imreallyaway@cihar.com>
|
||||
* libraries/export/sql.php: Fix moving foreign key definition on Windows
|
||||
(bug #851950).
|
||||
|
@@ -248,7 +248,7 @@ if ($save_on_server) {
|
||||
if (substr($cfg['SaveDir'], -1) != '/') {
|
||||
$cfg['SaveDir'] .= '/';
|
||||
}
|
||||
$save_filename = $cfg['SaveDir'] . preg_replace('@[/\\]@','_',$filename);
|
||||
$save_filename = $cfg['SaveDir'] . preg_replace('@[/\\\\]@','_',$filename);
|
||||
unset($message);
|
||||
if (file_exists($save_filename) && empty($onserverover)) {
|
||||
$message = sprintf($strFileAlreadyExists, htmlspecialchars($save_filename));
|
||||
|
Reference in New Issue
Block a user