Fixes
ObfuscateHelper::encodeEmailUrl()HTML-escapes link attributes by default and writes every chunk into the inline script as an encoded JavaScript string, so attribute values such as atitlecan no longer inject markup or script. Mailto query keys are URL-encoded like the values. #356ObfuscateHelper::encodeText()escapes characters it leaves unencoded, so<no longer reaches the page raw, and multibyte characters produce correct entities. #356- The pagination element and the
ObfuscateHelperscripts carry the CSP nonce. They readcspScriptNonce, set by CakePHP'sCspMiddleware, and fall back tocspNonce. #353
Upgrade notes
encodeEmailUrl()no longer defaults to'escape' => false. If you passed pre-encoded HTML entities in attributes, pass'escape' => falseexplicitly.
Full Changelog: 3.14.0...3.14.1