1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 19:43:13 +02:00

For DroneBL spam submissions use "Content-Type: text/xml".

This also bumps the request size limit a bit.
This commit is contained in:
Bram Matthys
2023-07-09 14:03:35 +02:00
parent 0618495962
commit 9e2232ef72
2 changed files with 24 additions and 2 deletions
+1
View File
@@ -381,6 +381,7 @@ int _spamreport(Client *client, const char *ip, NameValuePrioList *details, cons
buildvarstring_nvp(fmtstring, bodybuf, sizeof(bodybuf), list, BUILDVARSTRING_XML|BUILDVARSTRING_UNKNOWN_VAR_IS_EMPTY);
body = bodybuf;
safe_free_nvplist(list); // frees all the duplicated lists
add_nvplist(&headers, 0, "Content-Type", "text/xml");
} else
abort();