Skip to content

UNC host allow list should be case insensitive #182277

@geniuszxy

Description

@geniuszxy

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

  • VS Code Version: 1.78.2
  • OS Version: 10.0.19044

Steps to Reproduce:

  1. My project is under the unc path "\\UBUNTUX" so I add "UBUNTUX" to the Allowed UNCHosts setting.
  2. Try to open the file "\\ubuntux\sample.txt", a dialog says "The host 'ubuntux' was not found in the list of allowed hosts."

Paths on Windows are case insensitive, so IMO this setting should use the same rule.
This is not just an openning file issue, some extensions are using lowercase paths to process files, so actually I get many errors related to this issue. Now I have to add both "UBUNTUX" and "ubuntux" to the setting which is redundance.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderson-testplanuncunder-discussionIssue is under discussion for relevance, priority, approachverifiedVerification succeededwindowsVS Code on Windows issues

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