Feature #66698

Add integrity property to JavaScript files

Added by Xavier Perseguers about 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2015-05-01
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:

Description


Files

invalid.png (25.3 KB) invalid.png Xavier Perseguers, 2015-05-01 09:35

Related issues

Related to TYPO3 Core - Bug #76944: Subrequest-integrity should also add cross-origin headerRejected2016-07-05

Actions
Related to TYPO3 Core - Bug #77873: Missing crossorigin property for JavaScript files (SRI)ClosedMathias Brodala2016-09-07

Actions
#1

Updated by Xavier Perseguers about 6 years ago

Tested on Chromium with invalid hash:

page.includeJS {
    10 = fileadmin/jquery-1.10.2.min.js
    10.disableCompression = 1
    10.excludeFromConcatenation = 1
    # valid:
    #10.integrity = sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=
    # invalid:
    10.integrity = sha256-XXXXXXXXS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=
}

#2

Updated by Gerrit Code Review about 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39132

#3

Updated by Xavier Perseguers about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#4

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF