Fix by returning when the form is invalid

parent a826bc94
Pipeline #52667814 passed with stage
in 1 minute and 9 seconds
......@@ -153,6 +153,7 @@ app.post(
err: 'Provide a URL',
form: {}
})
return
}
// and validate the URL itself
......@@ -169,6 +170,7 @@ app.post(
url
}
})
return
}
// For SPAM, we're going to check the following:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment