microsoft / microsoft/vscode-azureresourcegroups

Names containing special letters are handled incorrectly

Open
#415 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
78
Forks
55
Avg merge
16h 49m
Merged PRs (30d)
139

Description

In Swedish we have letters a-z and å, ä and ö. Azure resources can be named using these. But if I open a directory containing a Resource Group with a name including [åäö] in the VScode azure extensions I get the following error message:
Error: "resourceGroupName" with value "<name with [åäö]>" should satisfy the constraint "Pattern": /^[-\w._()]+[^.]$/.

Since Azure is fine with names containing åäö I think VSCode extensions should be too.
Perhaps replacing the \w with \p{L}\p{M} would do the trick?

Contributor guide

No contributing guide indexed for this repository

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

Locate the resource-group name validation responsible for the reported Pattern error, then reproduce it by opening a directory containing an Azure Resource Group named with å, ä, or ö. Done means those names are accepted by the VS Code Azure extension without the constraint error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.