Skip to content

Conversation

@javiercn
Copy link
Member

@javiercn javiercn commented Dec 9, 2020

Description

#28017

In 5.0.1 we fixed a publish scenario where Blazor webassembly wasn't respecting the StaticWebAssetBasePath defined for the project. Unfortunately the logic for handling the path composition was not robust enough and while it fixed the publish output layout, it introduced an integration issue later on at runtime.

The current fix makes the handling of the path more tolerant to initial and final slashes and includes a new end to end test that validates this scenario.

Customer Impact

Customers can't host blazor applications outside the root path (/)

Regression?

Yes. Worked in 3.2

Risk

Low.

We've included additional tests and E2E automation to verify this case.

Validation

  • Automated
  • Manual

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Dec 9, 2020
@javiercn javiercn requested a review from pranavkm December 9, 2020 14:33
@pranavkm
Copy link
Contributor

pranavkm commented Dec 9, 2020

FYI @captainsafia

@mkArtakMSFT mkArtakMSFT linked an issue Dec 9, 2020 that may be closed by this pull request
@mkArtakMSFT mkArtakMSFT added this to the 5.0.2 milestone Dec 9, 2020
@mkArtakMSFT mkArtakMSFT added the Servicing-consider Shiproom approval is required for the issue label Dec 9, 2020
@ghost
Copy link

ghost commented Dec 9, 2020

Hello human! Please make sure you've included the Shiproom Template in a comment or (preferably) the PR description. Also, make sure this PR is not marked as a draft and is ready-to-merge.

…artup.cs

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Copy link
Member

@SteveSandersonMS SteveSandersonMS left a comment

Choose a reason for hiding this comment

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

Great!

…artup.cs

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
@leecow leecow added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Dec 10, 2020
@mkArtakMSFT mkArtakMSFT merged commit b7abe1e into release/5.0 Dec 10, 2020
@mkArtakMSFT mkArtakMSFT deleted the javiercn/fix-publish-cases branch December 10, 2020 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Blazor] UseBlazorFrameworkFiles not working as intended

6 participants