Skip to content

Commit

Permalink
CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
David R. Williamson committed Jan 10, 2023
1 parent b325056 commit 4540c76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provisioning/transport/http/src/SymmetricKeyCredentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public override Task ProcessHttpRequestAsync(HttpRequestMessage request, Cancell
string sasToken = ProvisioningSasBuilder.BuildSasSignature(
Registration,
_symmetricKey,
// These values may come in encoded, so decode them for the SAS token
$"{WebUtility.UrlDecode(segments[0])}/{WebUtility.UrlDecode(segments[1])}/{WebUtility.UrlDecode(segments[2])}",
TimeSpan.FromDays(1));
SetAuthorizationHeader(request, sasToken);
Expand Down

0 comments on commit 4540c76

Please sign in to comment.