fix(admin): use getRequestUri().getPath() in auth filter to avoid //login double-slash
Deploy to Production / deploy (push) Successful in 3m13s

Co-Authored-By: Mira Rehfeld <noreply@anthropic.com>
This commit is contained in:
Carsten Rehfeld
2026-05-16 21:42:18 +02:00
parent ad19c8f20f
commit 60dfcd58f6
@@ -27,7 +27,7 @@ public class AdminAuthFilter implements ContainerRequestFilter {
@Override
public void filter(ContainerRequestContext ctx) throws IOException {
UriInfo uri = ctx.getUriInfo();
String path = "/" + uri.getPath();
String path = uri.getRequestUri().getPath();
for (String pub : PUBLIC_PATHS) {
if (path.startsWith(pub)) return;