James Moger
2011-09-22 9b72a2e674f7cbc320b0b72fc71ad813d296ab12
src/com/gitblit/SyndicationServlet.java
@@ -26,10 +26,10 @@
import org.slf4j.LoggerFactory;
import com.gitblit.models.RepositoryModel;
import com.gitblit.utils.HttpUtils;
import com.gitblit.utils.JGitUtils;
import com.gitblit.utils.StringUtils;
import com.gitblit.utils.SyndicationUtils;
import com.gitblit.wicket.WicketUtils;
/**
 * SyndicationServlet generates RSS 2.0 feeds and feed links.
@@ -116,7 +116,7 @@
         javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException,
         java.io.IOException {
      String hostURL = WicketUtils.getHostURL(request);
      String hostURL = HttpUtils.getHostURL(request);
      String url = request.getRequestURI().substring(request.getServletPath().length());
      if (url.charAt(0) == '/' && url.length() > 1) {
         url = url.substring(1);