File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -406,11 +406,11 @@ document.domReady.push(function() {domReadyHistory();});
406406 String jfile = Util . stripPathPrefix(path, ifile);
407407 if (Objects . equals(rev, " " )) {
408408 % >
409- <a class =" h" href =" <%= context + Prefix . XREF_P + ifile % >" ><%= jfile % > </a ><br /><%
409+ <a class =" h" href =" <%= context + Prefix . XREF_P + Util . uriEncodePath( ifile) % >" ><%= Util . htmlize( jfile) % > </a ><br /><%
410410 } else {
411411 % >
412- <a class =" h" href =" <%= context + Prefix . XREF_P + ifile % > ?<%= QueryParameters . REVISION_PARAM_EQ % >
413- <%= rev % >" ><%= jfile % > </a ><br /><%
412+ <a class =" h" href =" <%= context + Prefix . XREF_P + Util . uriEncodePath( ifile) % > ?<%= QueryParameters . REVISION_PARAM_EQ % >
413+ <%= rev % >" ><%= Util . htmlize( jfile) % > </a ><br /><%
414414 }
415415 }
416416 % > </div ><%
You can’t perform that action at this time.
0 commit comments