We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf0af47 commit 920eb78Copy full SHA for 920eb78
src/org/opensolaris/opengrok/web/Scripts.java
@@ -202,7 +202,7 @@ public Iterator<Script> iterator() {
202
* @return true if script was added; false otherwise
203
*/
204
public boolean addScript(String contextPath, String scriptName) {
205
- contextPath = contextPath == null || contextPath.isEmpty() ? "" : contextPath + "/";
+ contextPath = contextPath == null || contextPath.isEmpty() ? "/" : contextPath + "/";
206
if (SCRIPTS.containsKey(scriptName)) {
207
this.addScript(
208
// put the context path end append the script path
0 commit comments