Skip to content

Commit 9642a50

Browse files
committed
encode the context path
1 parent 164eb2d commit 9642a50

File tree

1 file changed

+1
-1
lines changed
  • opengrok-web/src/main/webapp

1 file changed

+1
-1
lines changed

opengrok-web/src/main/webapp/rss.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ org.opengrok.web.PageConfig"
9595
requestURL += ":" + port;
9696
}
9797
98-
requestURL += request.getContextPath();
98+
requestURL += Util.uriEncodePath(request.getContextPath());
9999
requestURL += Prefix.HIST_L + Util.uriEncodePath(cfg.getPath()) + "#" + Util.uriEncode(entry.getRevision());
100100
%><%= requestURL %></link>
101101
<description><%

0 commit comments

Comments
 (0)