Skip to content

Commit

Permalink
replace invalid char in customized UserAgent (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
YanaXu authored Aug 23, 2024
1 parent 644538a commit 061407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/AzurePSCmdlet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ private static string getEnvUserAgent()
}
else
{
return hostEnv.Trim();
return hostEnv.Trim().Replace("@", "_").Replace("/", "_");
}
}

Expand Down

0 comments on commit 061407f

Please sign in to comment.