• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

OpenTweenのfork


Commit MetaInfo

修訂afeceb0841a7b661c454e5f878eead0c18325644 (tree)
時間2012-02-18 23:19:54
作者kiri_feather <kiri_feather@user...>
CommiterKimura Youichi

Log Message

#を含むとエンコード出来なくなっていたバグ修正

Change Summary

差異

--- a/Tween/bing.vb
+++ b/Tween/bing.vb
@@ -141,7 +141,7 @@
141141 ByRef buf As String) As Boolean
142142
143143 Dim http As New HttpVarious()
144- Dim apiurl As String = TranslateUri + "&text=" + _text + "&to=" + _to
144+ Dim apiurl As String = TranslateUri + "&text=" + System.Web.HttpUtility.UrlEncode(_text) + "&to=" + _to
145145 Dim content As String = ""
146146 If http.GetData(apiurl, Nothing, content) Then
147147 buf = String.Copy(content)