-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Description
The hash is wrong when the index.html EOL is CRLF
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackhq/csp-html-webpack-plugin version: 5.1.0
node version: v16.15.1
OS version(s): Windows 10
Steps to reproduce:
- Change the index.html EOL to CRLF (the default EOL in Windows)
- Generate hash for inline script
Expected result:
The hash is generated correctly.
Actual result:
The hash is wrong for CRLF index.html
Metadata
Metadata
Assignees
Labels
No labels