reiern70 opened a new issue, #2049: URL: https://github.com/apache/wicket/issues/2049
With `autoSubmit` set, `ChoiceFilter` rendered its select with an inline handler: ```html <select onchange="this.form.submit();"> ``` Wicket's default Content Security Policy (`strict()`: `script-src 'strict-dynamic' 'nonce-…'`) blocks inline event handlers, so the filter silently stops submitting when its value changes. The handler should be registered with an `OnEventHeaderItem`, the way `FilterForm#enableFocusTracking` already registers its focus handler, so that the script carries the nonce of the policy. The markup then only loses its `onchange` attribute. Fixed by #1667 (master), #1728 (`wicket-10.x`) and the backport to `wicket-11.x`, together with WICKET-6938. -- 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]
