Skip to content

Blazor - integrity checks fail on firefox over non secure connection but work in chrome #22999

@dazinator

Description

@dazinator

I have recently upgraded our asp.net core 3.1.0 hosted blazor app from blazor 3.2.0 preview 3 to 3.2.0.

We are noticing that we are gettting integritty check failures but only from Firefox. In google chrome it works fine. We have various developers all replicating the issue using clean installs of the latest version of firefox. The problem seems to be to do with the integrity check on blazor's dotnet script and we say that because thats the only script that we can see that uses a sha256 integrity check.

I noticed this issue: #22470 but it doesn't appear to cover our case because:

  1. We don't push our published assets using git or kudo: Our flow is:
    • CI build is done by an Azure Devops Pipeline --> Hosted agent (latest windows) checks out code, and builds the solution and does a dotnet publish which is then uploaded as a zipped build artifact.
    • Azure DevOps "Releases" pipeline is then triggered which downloads the build artfifact, then does a DOCKER build, producing a docker image containing the published output.
    • push the docker image to ACR (Azure Container Registry)
    • deploy the image to an Azure App Service for Containers (windows) instance, - to a deployment slot.

We noticed that the site works fine in chrome (Version 83.0.4103.97 (Official Build) (64-bit))
However in latest firefox (77.0.1 (64-bit):

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyinvestigate

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions