dr0ps commented on PR #846: URL: https://github.com/apache/wicket/pull/846#issuecomment-2078081010
ResetResponseException$ResponseResettingDecorator#respond(RequestCycle) calls reset() on the response object. The current implementation in BaseWicketTester$WicketTesterServletWebResponse does nothing which is not representative of the implementation in BufferedWebResponse or ServletWebResponse. I therefore added the clearing of cookies and headers which makes the tests fail. As the ResetResponseException then continues to call IRequestHandler#respond(RequestCycle) the onRequestHandlerResolved and onRequestHandlerExecuted in CSPRequestCycleListener will not be called. Therefore the CSP values are missing. -- 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]
