
Originally Posted by
lat9
Does your site's database password also include any "special" characters?
speaking of special characters.....
if your admin directory has any special characters, it seems that the following change is necessary (for backing up... around line 133):
PHP Code:
//from
$dump_params .= ' "--result-file=' . DIR_FS_BACKUP . $backup_file . '"';
//to
$dump_params .= ' "--result-file=' . escapeshellcmd(DIR_FS_BACKUP) . $backup_file . '"';
it may be worth wild to change all instances of DIR_FS_BACKUP to $backup_directory and define said var at the beginning of the script as such:
PHP Code:
$backup_directory = escapeshellcmd(DIR_FS_BACKUP);
but alas, i do not have the time or inclination at this moment for further testing.
Bookmarks