mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-09 20:32:38 +01:00
Merge branch 'fix_11285' into 'master'
Attempt to sanitize the database identifiers, fix #11285 Closes #11285 See merge request riseuplabs/backupninja!11
This commit is contained in:
commit
497ff73b65
@ -255,6 +255,9 @@ then
|
||||
|
||||
for db in $databases
|
||||
do
|
||||
# Sanitize database name
|
||||
db=$(echo $db | tr -d \'\;)
|
||||
|
||||
DUMP_BASE="$MYSQLDUMP $defaultsfile $sqldumpoptions"
|
||||
|
||||
# Dumping structure and data
|
||||
|
Loading…
Reference in New Issue
Block a user