You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2026/03/26 12:43:00 UTC

[jira] [Resolved] (MYFACES-4748) CSP: render f:ajax as script block instead e.g. onclick

     [ https://issues.apache.org/jira/browse/MYFACES-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko resolved MYFACES-4748.
----------------------------------------
    Resolution: Fixed

> CSP: render f:ajax as script block instead e.g. onclick
> -------------------------------------------------------
>
>                 Key: MYFACES-4748
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4748
>             Project: MyFaces Core
>          Issue Type: Task
>            Reporter: Thomas Andraschko
>            Priority: Major
>             Fix For: 5.0.0
>
>
> i implemented most of the parts of CSP
> however, when the current request has a valid nonce, f:ajax script must be rendered inside a script block and attached to e.g. button via JS.
> instead of current onclick="...ajax script" attribute rendering



--
This message was sent by Atlassian Jira
(v8.20.10#820010)