microsoft / microsoft/vscode-edge-devtools

Secure URL

Open
#1,404 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Environment (please complete the following information):

  • OS (e.g., Windows 10): Windows 11
  • Extension version (e.g., 1.2.3): 2.1.1

Describe the bug:

My project has a .Net Core 6.0 backend that launches an Angular 14 application, based on the "ASP.NET Core with Angular" template. I am unable to use the extension browser to navigate to the projects url, "https://localhost:44372/".

Repro steps:
When I start the project using the default launcher, the backend code runs and a new Edge browser is launched to "https://localhost:44372/" and I can use the app.
Then, when I start the Chrome extension in Visual Studio Code, the extension browser starts on its start page. After I paste "https://localhost:44372/" to replace the start page's file URL, the extension pre-pends it with "http", resulting in "http://https//localhost:44372/" and no navigation, rendering it utterly useless.

Expected behavior:

I should be able to navigate to "https://localhost:44372/"

Additional context:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the extension browser by entering https://localhost:44372/ after starting the ASP.NET Core with Angular project. Trace the URL handling from the address entry point and verify that an HTTPS URL is preserved and navigation reaches the project instead of producing http://https//localhost:44372/.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.