File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,16 @@ org.opengrok.web.PageConfig"
87
87
String replaced = entry. getMessage(). split(" \n " )[0 ];
88
88
% ><%= Util . htmlize(entry. getRevision()) % > - <%= Util . htmlize(replaced) % > </title >
89
89
<link ><%
90
- String requestURL = request. getScheme() + " :// " ;
91
- String serverName = cfg . getServerName();
92
- requestURL += serverName;
93
- String port = Integer . toString(request . getLocalPort());
94
- if ( ! port . isEmpty()) {
95
- requestURL += " : " + port;
96
- }
97
-
98
- requestURL += Util . uriEncodePath(request . getContextPath());
99
- requestURL += Prefix . HIST_L + Util . uriEncodePath(cfg . getPath()) + " # " + Util . uriEncode(entry. getRevision());
90
+ String requestURL = request. getScheme() +
91
+ " :// " +
92
+ cfg . getServerName() +
93
+ " : " +
94
+ request . getLocalPort() +
95
+ Util . uriEncodePath(request . getContextPath()) +
96
+ Prefix . HIST_L +
97
+ Util . uriEncodePath(cfg . getPath()) +
98
+ " # " +
99
+ Util . uriEncode(entry. getRevision());
100
100
% ><%= requestURL % > </link >
101
101
<description ><%
102
102
for (String e : entry. getMessage(). split(" \n " )) {
You can’t perform that action at this time.
0 commit comments