What is the expected output? What do you see instead?
class DevDefined.OAuth.Framework.UriUtility
static QueryParameter ParseAuthorizationHeaderKeyValuePair(string value)
{
if (value.IndexOf('=') > -1)
{
string[] temp = value.Split('=');
return new QueryParameter(temp[0].Trim(), StripQuotes(temp[1]));
}
return new QueryParameter(value.Trim(), string.Empty);
}
If there is "=" in signature ,for example
"auth_signature=\"uZF3aYQFtyK0F1FFHY+w7/Be+m4=\""
expect:
string[] temp ={"auth_signature","uZF3aYQFtyK0F1FFHY+w7/Be+m4="}
But I get
string[] temp ={"auth_signature","\"uZF3aYQFtyK0F1FFHY+w7/Be+m4"}
What version of the product are you using? On what operating system?
Last trunk
What steps will reproduce the problem?
What is the expected output? What do you see instead? class DevDefined.OAuth.Framework.UriUtility static QueryParameter ParseAuthorizationHeaderKeyValuePair(string value) { if (value.IndexOf('=') > -1) { string[] temp = value.Split('='); return new QueryParameter(temp[0].Trim(), StripQuotes(temp[1])); } return new QueryParameter(value.Trim(), string.Empty); } If there is "=" in signature ,for example "auth_signature=\"uZF3aYQFtyK0F1FFHY+w7/Be+m4=\"" expect: string[] temp ={"auth_signature","uZF3aYQFtyK0F1FFHY+w7/Be+m4="} But I get string[] temp ={"auth_signature","\"uZF3aYQFtyK0F1FFHY+w7/Be+m4"}
What version of the product are you using? On what operating system? Last trunk
Reported by: http://code.google.com/u/snail.luo/
Original issue logged on google code here: http://code.google.com/p/devdefined-tools/issues/detail?id=8