Error 401 when text contains an "*" asterisk(UTF-8 "%2A")


#1

I’m posting a status update to “https://api.twitter.com/1.1/statuses/update.json”.

This are the main lines of code
form = new UrlEncodedFormEntity(nameValuePairs, HTTP.UTF_8); post.setEntity(form); .... client.execute(post, new BasicResponseHandler());
I’m getting a 401 “Authorization Required” .
This happens only when the text of the tweet contains an * asterisk char. Everything works fine otherwise.

Please, help me, thank you!


#2

Worked around with heavy asterisk