Bug fixes

This commit is contained in:
UnlegitDqrk
2026-02-27 20:31:10 +01:00
parent 5642869097
commit aa5963378d
8 changed files with 113 additions and 79 deletions

View File

@@ -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
);
}
}
}