404 Errors
-
Hi,
One of our websites has been getting a few blank submissions from the contact form of late, ie. there appears to be no information submitted. After some discussion with the web hosting and investigating the server logs we are spotting requests like the one below which results in a blank email being sent and the API that the submission is sent to is rejecting the submission because one of the fields is required but is empty, in fact all the fields are empty.[06/Mar/2021:05:04:04 +0000] “POST /contact-forms/6560/feedback HTTP/1.0” 404 24073
Furthermore, the website uses a function and the hook, ‘wpcf7_before_send_mail’ to process the data, send that data to a eCRM API as well as sending an email as a record. The webhost is nginx WordPress managed hosting solution. I believe it is related to a current open issue, https://github.com/takayukister/contact-form-7/issues/359 .
It appears that the request is being made resulting in a 404 error but the function/hook is still being triggered.
By in large, the form is working fine and any submitted legitimate data is being processed correctly but these blank submissions are being noticed.
Is there a workaround in the meantime?
Thanks,
Rob
—
- The topic ‘404 Errors’ is closed to new replies.