This commit is contained in:
burke.davey
2010-05-26 23:40:30 +00:00
parent 99e8aee95d
commit c63f9ff2b5

View File

@@ -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;