Twitter RestSharp:UrlEncode在签名基生成中返回无效字符串

Twitter RestSharp:UrlEncode在签名基生成中返回无效字符串,twitter,twitter-oauth,windows-runtime,restsharp,Twitter,Twitter Oauth,Windows Runtime,Restsharp,我使用RestSharp在win8的twitter客户端上工作,我遇到了这样的问题: 当我用RestClient发布新推文时 var timeLine = new RestRequest("/1/statuses/update.json", Method.POST); var txt = "Hello world"; timeLine.AddParameter("status", txt); 一切都很好,但如果我添加更复杂的状态,如: var txt = "Hello, World! What

我使用RestSharp在win8的twitter客户端上工作,我遇到了这样的问题: 当我用RestClient发布新推文时

var timeLine = new RestRequest("/1/statuses/update.json", Method.POST);
var txt = "Hello world";
timeLine.AddParameter("status", txt);
一切都很好,但如果我添加更复杂的状态,如:

var txt = "Hello, World! What a nice day! #1May";
timeLine.AddParameter("status", txt);
我收到401错误。在调试器中,我看到签名基字符串中的状态参数不正确。我有:

status%3DHello%2C%2520World%21%2520What%2520a%2520nice%2520day%21%2520%231May
和dev.twitter.com上的右字符串:

status%3DHello%252C%2520World%2521%2520What%2520a%2520nice%2520day%2521%2520%25231May
你可以看到,那个标点符号,!其他编码不正确。我怎样才能修好它?
签名库的生成和编码在/Authenticators/OAuth/oauthttools.cs中。当我在网站中显示twitter提要时,我遇到了相同的问题。因此,我使用此代码来转换文本

Regex.Replacestr,@.*?:@@http://twitter.com/!/$1>$1:;

你能把一个bug归档并在谷歌群组中提及,看看是否有人能找到它来修复吗?或者拉请求也可以工作。