mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
Use printf to escape domain content. This prevents possible SQL injection issues
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
5246b3e496
commit
a904c183df
@ -104,7 +104,7 @@ fi
|
||||
|
||||
scanDatabaseTable() {
|
||||
local domain table type querystr result table_prev
|
||||
domain="${1}"
|
||||
domain="$(printf "%q" "${1}")"
|
||||
table="${2}"
|
||||
type="${3:-}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user