Skip to content

Commit c087728

Browse files
committed
encode the link as URI
1 parent afbbe11 commit c087728

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ org.opengrok.web.PageConfig"
9797
}
9898
9999
requestURL += request.getContextPath();
100-
requestURL += Prefix.HIST_L + cfg.getPath() + "#" + entry.getRevision();
101-
%><%= Util.htmlize(requestURL) %></link>
100+
requestURL += Prefix.HIST_L + Util.uriEncodePath(cfg.getPath()) + "#" + Util.uriEncode(entry.getRevision());
101+
%><%= requestURL %></link>
102102
<description><%
103103
for (String e : entry.getMessage().split("\n")) {
104104
%>

0 commit comments

Comments
 (0)