mirror of
https://github.com/fergalmoran/chrometophone.git
synced 2025-12-22 09:41:51 +00:00
Bug
This commit is contained in:
@@ -65,7 +65,7 @@ public class SendServlet extends HttpServlet {
|
||||
|
||||
String url = req.getParameter("url");
|
||||
String title = req.getParameter("title");
|
||||
if (url == null && title == null) {
|
||||
if (url == null || title == null) {
|
||||
resp.setStatus(400);
|
||||
resp.getWriter().println(ERROR_STATUS + " (Must specify url and title parameters)");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user