rsieiro / RSOAuthEngine

ARC based OAuth engine for MKNetworkKit
http://rodrigo.sharpcube.com
150 stars 33 forks source link

Trim whitespace and new line characters #12

Closed romaonthego closed 12 years ago

romaonthego commented 12 years ago

Issue with Tumblr OAuth: it sends token response with "\n" in front like this:

" oauth_token=XXX&oauth_token_secret=YYY"

So, code fails on this line: if ([key isEqualToString:@"oauth_token"]) {

rsieiro commented 12 years ago

Merged it. Thanks :)