better URI check for prompt filter short circuit

pull/604/head
Justin Richer 2014-05-25 14:24:25 -04:00
parent 6d5a967d8a
commit 2af51dc77a
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class PromptFilter extends GenericFilterBean {
HttpServletResponse response = (HttpServletResponse) res;
// skip everything that's not an authorize URL
if (!request.getRequestURI().startsWith("/authorize")) {
if (!request.getServletPath().startsWith("/authorize")) {
chain.doFilter(req, res);
return;
}