[ 
https://issues.apache.org/jira/browse/WICKET-6321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994906#comment-16994906
 ] 

Sven Meier commented on WICKET-6321:
------------------------------------

I've pushed a very simple implementation that allows people to do their own SRI 
implementation.

I'm not sure we want to add "integrity" to all resource implementations. Up til 
now the resource has no influence on other header item attributes.

IMHO this is enough for people to get started. Maybe we can support dynamic 
integrity hash calculation later on.

> Support Integrity and Crossorigin attributes for 
> JavaScriptUrlReferenceHeaderItem 
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-6321
>                 URL: https://issues.apache.org/jira/browse/WICKET-6321
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.0.0-M3
>            Reporter: Mikhail Fursov
>            Assignee: Sven Meier
>            Priority: Major
>         Attachments: CORS.zip, wicket-6321-20180306.diff, wicket-6321.diff
>
>
> Example of secure script reference:
> <script 
> src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/js/bootstrap.min.js";
>  integrity="sha256-+kIbbrvS+0dNOjhmQJzmwe/RILR/8lb/+4+PUNVW09k=" 
> crossorigin="anonymous"></script>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to