mirror of
https://github.com/pi-hole/web.git
synced 2026-04-28 04:33:58 +01:00
Explicitly set contentType to avoid promotion to jsonp
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -319,6 +319,7 @@ function addFromQueryLog(domain, list) {
|
||||
method: "post",
|
||||
dataType: "json",
|
||||
processData: false,
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify({
|
||||
domain: domain,
|
||||
comment: "Added from Query Log",
|
||||
|
||||
Reference in New Issue
Block a user