Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect integrity hash prefix Update index.html #5434

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

famouswizard
Copy link
Contributor

Description:

Снимок экрана 2024-11-27 в 14 19 13

In the provided HTML code, there was a typo in the integrity attribute of the Font Awesome stylesheet link. The integrity value incorrectly started with ha384, but it should start with sha384. This caused the integrity check to fail and prevented the stylesheet from being loaded correctly in some environments.

The error:

<link rel="stylesheet" integrity="ha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">

The fix:

<link rel="stylesheet" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">

Why is this important?

The integrity attribute is used for Subresource Integrity (SRI) checks, which help ensure that the file loaded by the browser is not tampered with. By correcting the hash prefix to sha384, the file's integrity check will work properly, allowing the Font Awesome stylesheet to be loaded securely. This change is crucial to maintaining security and proper functionality.

Copy link

netlify bot commented Nov 27, 2024

👷 Deploy request for remixproject pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 22fec88

@Aniket-Engg Aniket-Engg merged commit 5f95cd9 into ethereum:master Nov 28, 2024
25 of 28 checks passed
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.

2 participants