microsoft / microsoft/vscode-azurestaticwebapps

There is no validation when inputting an App Setting name with more than 64 characters

Open
#482 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AT-CTI P3
Dominant language
TypeScript
Stars
99
Forks
39
Avg merge
3d 7h
Merged PRs (30d)
2

Description

OS: Win10
Build Version: 20210816.16
Regression: Not a regression

Repro Steps:

  1. F1 --> Azure Static Web App: Add New Setting... --> Select one Static Web App -> Select environment -> Input an App Setting name with more than 64 characters.
  2. Check whether there is a validation for the invalid app setting name.

Expect:
There is a validation "App setting key cannot be more than 64 characters in length.".

Actual:
There is no validation.

More Info:

  1. This issue also reproduces on the previous released Static Web Apps extension 0.7.1.
  2. An error occurs when adding the new setting which name contains more than 64 characters.
    image

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

Start in the Azure Static Web Apps extension's “Add New Setting” flow and trace how the App Setting name is handled before submission. Done means names over 64 characters show the specified validation message instead of reaching the failing add-setting operation.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript, vscode
Domain
cloud, devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.