Commit 248504e2 authored by Administrator's avatar Administrator

Fixes an error with query parameters in the LoginFilter

The redirect created in the LoginFilter when the request URL included
query parameters was incomplete, as it missed the "?" that separates the
query parameters from the request URL. This commit fixes this error.
parent 62db9925
...@@ -101,7 +101,7 @@ public class LoginFilter implements Filter { ...@@ -101,7 +101,7 @@ public class LoginFilter implements Filter {
) throws IOException { ) throws IOException {
String redirectPath = request.getRequestURI(); String redirectPath = request.getRequestURI();
if (request.getQueryString() != null) if (request.getQueryString() != null)
redirectPath += request.getQueryString(); redirectPath += "?" + request.getQueryString();
response.sendRedirect(redirectPath); response.sendRedirect(redirectPath);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment