"This is a unicode character: 龅") path/to/method にログ: Parameters: {"tag"=>"This"> "This is a unicode character: 龅") path/to/method にログ: Parameters: {"tag"=>"This"> "This is a unicode character: 龅") path/to/method にログ: Parameters: {"tag"=>"This" />
エスケープされたUnicode文字を含む文字列を含むURLに POST リクエストを渡しています。被呼サーバのログをチェックするとき、ユニコード文字はエスケープされません。
POST
私のコード:
SomeClass.post("path/to/method", :body => "This is a unicode character: 龅")
path/to/method にログ:
path/to/method
Parameters: {"tag"=>"This is a unicode character: 龅"}
エスケープされた文字をエスケープしないようにHTTPartyに指示するにはどうすればよいですか?
更新
It seems like 龅 is being split with the & even though it's sending it as POST and as plain string. I can't have the ampersand escaped, it needs to be unescaped just as it is.
龅
&
答えはありません