Azure-Samples / Azure-Samples/storage-dotnet-rest-api-with-auth

GetCanonicalizedResource should not have a .ToLower

Open
#16 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
31
Forks
35
PR merge metrics
No merged PRs in 30d

Description

With a .ToLower at the end of GetCanonicalizedResource the sample code does not work for addresses that have uppercase characters. Per the documentation, only parameter names (and not values) should be lowercase.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for GetCanonicalizedResource and inspect how its canonicalized resource string is built. Compare the implementation with the linked documentation, then verify with an uppercase address that parameter names are normalized while parameter values retain their case.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.