Skip to content

The built-in browser doesn't URL-encode spaces. Instead, it treats the input as a search query. #326784

Description

@ElsevarAsadov

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

  • VS Code Version: 1.129.1
  • OS Version: Windows 11

Steps to Reproduce:

Try entering a URL that contains a space, for example: http://localhost:8888/my file.php (there is a space between my and file.php).

Expected Behavior:

In other browsers, such as Brave (Chromium), entering the same URL automatically results in a request being sent to:

http://localhost:8888/my%20file.php

In other words, the browser automatically URL-encodes the space as %20 before sending the request.

Metadata

Metadata

Assignees

Labels

new releaseIssues found in a recent release of VS Code

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions