summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-06-18 08:39:22 -0400
committerJames Moger <james.moger@gitblit.com>2011-06-18 08:39:22 -0400
commitb01ca06b8d14634a2890590916450ef0e36f2b3a (patch)
treea2a4766cead0c5a152a1e0299ae243a698548d54 /src/com
parent5450d08e4cd11176bcc50a5b3d001d291bd8982c (diff)
downloadgitblit-b01ca06b8d14634a2890590916450ef0e36f2b3a.tar.gz
gitblit-b01ca06b8d14634a2890590916450ef0e36f2b3a.zip
Mount parameters setting.
Diffstat (limited to 'src/com')
-rw-r--r--src/com/gitblit/wicket/GitBlitWebApp.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/gitblit/wicket/GitBlitWebApp.java b/src/com/gitblit/wicket/GitBlitWebApp.java
index cc54e003..1b13ea38 100644
--- a/src/com/gitblit/wicket/GitBlitWebApp.java
+++ b/src/com/gitblit/wicket/GitBlitWebApp.java
@@ -107,6 +107,9 @@ public class GitBlitWebApp extends WebApplication {
if (parameters == null) {
parameters = new String[] {};
}
+ if (!GitBlit.getBoolean(Keys.web.mountParameters, true)) {
+ parameters = new String[] {};
+ }
mount(new MixedParamUrlCodingStrategy(location, clazz, parameters));
}