Skip to content

Uri#parse can break path-component #45515

@antoinerousseau

Description

@antoinerousseau
  • VSCode Version: 1.21.0
  • OS Version: macOS 10.13.3

Steps to Reproduce:

  1. Insert this link in a JS file: https://firebasestorage.googleapis.com/v0/b/brewlangerie.appspot.com/o/products%2FzVNZkudXJyq8bPGTXUxx%2FBetterave-Sesame.jpg?alt=media&token=0b2310c4-3ea6-4207-bbde-9c3710ba0437
  2. Cmd-click it to open it: the %2F are not preserved and are replaced with /, causing the request to fail

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buguriverifiedVerification succeeded

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions