From 5404d4ba41a8e9c194583f3990602c1738e194e1 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 01 Oct 2013 17:24:42 -0400 Subject: [PATCH] Check for refs/ not refs/heads/ when updating a ref --- src/main/java/com/gitblit/RobotsTxtServlet.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gitblit/RobotsTxtServlet.java b/src/main/java/com/gitblit/RobotsTxtServlet.java index d66ebf4..dfc06b5 100644 --- a/src/main/java/com/gitblit/RobotsTxtServlet.java +++ b/src/main/java/com/gitblit/RobotsTxtServlet.java @@ -27,9 +27,9 @@ /** * Handles requests for robots.txt - * + * * @author James Moger - * + * */ public class RobotsTxtServlet extends HttpServlet { @@ -38,7 +38,7 @@ public RobotsTxtServlet() { super(); } - + @Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException { -- Gitblit v1.9.1