Skip to content

Commit 061407f

Browse files
authored
replace invalid char in customized UserAgent (#429)
1 parent 644538a commit 061407f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Common/AzurePSCmdlet.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ private static string getEnvUserAgent()
809809
}
810810
else
811811
{
812-
return hostEnv.Trim();
812+
return hostEnv.Trim().Replace("@", "_").Replace("/", "_");
813813
}
814814
}
815815

0 commit comments

Comments
 (0)