Bug fixes
This commit is contained in:
@@ -50,9 +50,7 @@ public final class JavaPageDispatcher {
|
||||
int q = route.indexOf('?');
|
||||
if (q >= 0) route = route.substring(0, q);
|
||||
|
||||
if (!route.startsWith("/")) {
|
||||
route = "/" + route;
|
||||
}
|
||||
route = WebUrlUtil.normalizeRequestPath(route);
|
||||
|
||||
java.io.File contentRoot = server.getContentFolder();
|
||||
ROUTES.refreshIfNeeded(contentRoot);
|
||||
@@ -113,4 +111,4 @@ public final class JavaPageDispatcher {
|
||||
null
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user