コミット
b3129edbda
|
@ -206,6 +206,8 @@ The contact form can also be used to place orders. Please see <a href="/products
|
||||||
let body = ''
|
let body = ''
|
||||||
req.on('data', chunk => {
|
req.on('data', chunk => {
|
||||||
body += chunk
|
body += chunk
|
||||||
|
if (body.length > 1e6) // spam detection
|
||||||
|
req.connection.destroy();
|
||||||
})
|
})
|
||||||
let ParsedBody = {}
|
let ParsedBody = {}
|
||||||
let ParsedText = {}
|
let ParsedText = {}
|
||||||
|
|
読み込み中…
新しいイシューから参照