-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Labels
Pillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.copilot-candidatefeature-templates
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
This came up previously with an appsettings.json file, but I noticed it while exploring the parameters for the blazorwasm template, and I don't think that's been addressed yet.
It appears to me that this was unintentional. I have a fork and branch at the ready for a PR to fix this issue available here.
Expected Behavior
I expected a correct and valid URL format to be supplied as a default value that clearly requires one.
Steps To Reproduce
Repro:
- Install latest .NET SDK (Host: 6.0.10, SDK: 6.0.402 as of this issue)
- Execute
dotnet new blazorwasm -h - Scroll down to parameter
--aad-b2c-instance - Note the "Default" value of
https:////aadB2CInstance.b2clogin.com/verbatim and compare it to other default values on the screen.
Exceptions (if any)
No response
.NET Version
6.0.402
Anything else?
It's also worth noting that there's a similar issue with the "replaces" value at this line, but since it has a "defaultValue" also configured, the URL with the //// is not rendered to screen. I can fix that one, too, if you like, but figured I'd keep the commit focused.
Copilot
Metadata
Metadata
Assignees
Labels
Pillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.This issue describes a behavior which is not expected - a bug.copilot-candidatefeature-templates
