File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1099,8 +1099,7 @@ public Prefix getPrefix() {
1099
1099
*/
1100
1100
public String getPath () {
1101
1101
if (path == null ) {
1102
- path = Util .getCanonicalPath (Laundromat .launderInput (
1103
- req .getPathInfo ()), PATH_SEPARATOR );
1102
+ path = Util .getCanonicalPath (Laundromat .launderInput (req .getPathInfo ()), PATH_SEPARATOR );
1104
1103
if (PATH_SEPARATOR_STRING .equals (path )) {
1105
1104
path = "" ;
1106
1105
}
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ org.opengrok.indexer.web.QueryParameters"
129
129
defs, annotation, project);
130
130
} else if (g == AbstractAnalyzer.Genre.IMAGE) {
131
131
%></pre>
132
- <img src="<%= rawPath %>?<%= QueryParameters.REVISION_PARAM_EQ %><%= Util.URIEncode(rev) %>"/>
132
+ <img src="<%= rawPath %>?<%= QueryParameters.REVISION_PARAM_EQ %><%= Util.URIEncode(rev) %>" alt="<%= path %>" />
133
133
<pre><%
134
134
} else if (g == AbstractAnalyzer.Genre.HTML) {
135
135
/*
You can’t perform that action at this time.
0 commit comments