Skip to content

Commit

Permalink
Escape username in azure url
Browse files Browse the repository at this point in the history
  • Loading branch information
zachhuff386 committed Apr 22, 2022
1 parent f883b79 commit 7ab16b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func AzureSync(provider *settings.Provider, username string) (
reqUrl, err := url.Parse(fmt.Sprintf(
"https://graph.microsoft.com/v1.0/%s/users/%s",
provider.Tenant,
username,
url.QueryEscape(username),
))
if err != nil {
err = &errortypes.ParseError{
Expand Down

0 comments on commit 7ab16b5

Please sign in to comment.