asvanberg opened a new pull request, #1694:
URL: https://github.com/apache/wicket/pull/1694

   Both policy implementations erroneously checked the context path rather than 
the request path meaning exemptions never matched.
   
   The existing tests had two flaws which meant the bug was never revealed;
   1. They disabled the policy globally
   2. There was no handler mapped to the requested URL and without a handler no 
listeners ever executes 
https://github.com/apache/wicket/blob/86b17a9fb2bbd0b07d1be4accaff363a6cd76d7a/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java#L245-L257
   
   Fixes #1661


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to