Browse Source
Merge pull request #418 from colinin/4.4.2
fix(open-api:sdk): URL编码之后转换大写
pull/426/head
yx lin
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
aspnet-core/modules/open-api/OpenApi.Sdk/OpenApi/ClientProxy.cs
|
|
@ -153,7 +153,7 @@ namespace OpenApi |
|
|
|
|
|
|
|
|
private static string UrlEncode(string str) |
|
|
private static string UrlEncode(string str) |
|
|
{ |
|
|
{ |
|
|
return HttpUtility.UrlEncode(str); |
|
|
return HttpUtility.UrlEncode(str, Encoding.UTF8).ToUpper(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|