1
- using System . Collections . Generic ;
1
+ using System . Collections . Generic ;
2
2
using Amazon . Util ;
3
3
using System . Text ;
4
4
using Amazon . Runtime . Internal ;
@@ -67,6 +67,8 @@ public void DetermineService(string url, string expectedService)
67
67
[ Theory ]
68
68
[ InlineData ( "value, with special chars!" , "value%2C%20with%20special%20chars%21" ) ]
69
69
[ InlineData ( "value, with special chars and path {/+:}" , "value%2C%20with%20special%20chars%20and%20path%20%7B%2F%2B%3A%7D" ) ]
70
+ [ InlineData ( "紙_一般_児童手当等の受給資格及び児童手当の額についての認定請求公金非対応" , "%E7%B4%99_%E4%B8%80%E8%88%AC_%E5%85%90%E7%AB%A5%E6%89%8B%E5%BD%93%E7%AD%89%E3%81%AE%E5%8F%97%E7%B5%A6%E8%B3%87%E6%A0%BC%E5%8F%8A%E3%81%B3%E5%85%90%E7%AB%A5%E6%89%8B%E5%BD%93%E3%81%AE%E9%A1%8D%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%AE%E8%AA%8D%E5%AE%9A%E8%AB%8B%E6%B1%82%E5%85%AC%E9%87%91%E9%9D%9E%E5%AF%BE%E5%BF%9C" ) ]
71
+
70
72
public void UrlEncodeWithoutPath ( string input , string expected )
71
73
{
72
74
var encoded = AWSSDKUtils . UrlEncode ( input , path : false ) ;
@@ -78,6 +80,7 @@ public void UrlEncodeWithoutPath(string input, string expected)
78
80
[ InlineData ( "\ud83d \ude02 value, with special chars!" , "%F0%9F%98%82%20value,%20with%20special%20chars!" ) ]
79
81
[ InlineData ( "value, with special chars!" , "value,%20with%20special%20chars!" ) ]
80
82
[ InlineData ( "value, with special chars and path {/+:}" , "value,%20with%20special%20chars%20and%20path%20%7B/+%3A%7D" ) ]
83
+ [ InlineData ( "紙_一般_児童手当等の受給資格及び児童手当の額についての認定請求公金非対応" , "%E7%B4%99_%E4%B8%80%E8%88%AC_%E5%85%90%E7%AB%A5%E6%89%8B%E5%BD%93%E7%AD%89%E3%81%AE%E5%8F%97%E7%B5%A6%E8%B3%87%E6%A0%BC%E5%8F%8A%E3%81%B3%E5%85%90%E7%AB%A5%E6%89%8B%E5%BD%93%E3%81%AE%E9%A1%8D%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%AE%E8%AA%8D%E5%AE%9A%E8%AB%8B%E6%B1%82%E5%85%AC%E9%87%91%E9%9D%9E%E5%AF%BE%E5%BF%9C" ) ]
81
84
public void UrlEncodeWithPath ( string input , string expected )
82
85
{
83
86
var encoded = AWSSDKUtils . UrlEncode ( input , path : true ) ;
0 commit comments