Skip to content

Ensure correct 'integrity' value is used for css assets - #43714

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
julesjanssen:patch-1
Aug 16, 2022
Merged

Ensure correct 'integrity' value is used for css assets#43714
taylorotwell merged 2 commits into
laravel:9.xfrom
julesjanssen:patch-1

Conversation

@julesjanssen

@julesjanssen julesjanssen commented Aug 15, 2022

Copy link
Copy Markdown
Contributor

Like with a css resource that is a dependency of an import, a directly imported css file should also use its own manifest record to make sure the correct integrity value is applied.
Before this change, the <link would use the integrity key of the JS asset.

@julesjanssen
julesjanssen marked this pull request as ready for review August 16, 2022 00:00

@timacdonald timacdonald left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this one. Tested and confirmed.

@taylorotwell
taylorotwell merged commit fbd4648 into laravel:9.x Aug 16, 2022
@julesjanssen
julesjanssen deleted the patch-1 branch August 16, 2022 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants