cloudcms-server 3.2.314 → 3.2.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -347,7 +347,8 @@ exports = module.exports = function()
|
|
|
347
347
|
{
|
|
348
348
|
// are we being spoofed? kill the connection
|
|
349
349
|
console.log("[BLACKLIST KILL: " + req.virtualHost + " > " + req.method + " " + req.url + "]");
|
|
350
|
-
|
|
350
|
+
res.writeHead(503, { 'Content-Type': 'application/json' });
|
|
351
|
+
return res.end(JSON.stringify({"error": true, "message": "Bad Request."}));
|
|
351
352
|
}
|
|
352
353
|
|
|
353
354
|
if (err)
|