File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -289,17 +289,16 @@ document.domReady.push(function() {domReadyHistory();});
289
289
<td ><%= htmlEncodedDisplayRevision % > </td ><%
290
290
} else {
291
291
if (entry. isActive()) {
292
- StringBuffer urlBuffer = request . getRequestURL( );
292
+ StringBuffer urlBuffer = new StringBuffer (context + Prefix . HIST_L + uriEncodedName );
293
293
if (request. getQueryString() != null ) {
294
294
urlBuffer. append(' ?' ). append(request. getQueryString());
295
295
}
296
- urlBuffer. append(' #' ). append(rev);
296
+ urlBuffer. append(' #' ). append(Util . uriEncode( rev) );
297
297
% >
298
- <td ><a href =" <%= urlBuffer % >"
299
- title =" link to revision line" >#</a >
298
+ <td ><a href =" <%= urlBuffer % >" title =" link to revision line" >#</a >
300
299
<a href =" <%= context + Prefix . XREF_P + uriEncodedName + " ?" +
301
- QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= htmlEncodedDisplayRevision % >
302
- </ a > </td >
300
+ QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= htmlEncodedDisplayRevision % ></ a >
301
+ </td >
303
302
<td ><%
304
303
% > <input type =" radio"
305
304
aria-label =" From"
You can’t perform that action at this time.
0 commit comments