nst / STTwitter

A stable, mature and comprehensive Objective-C library for Twitter REST API 1.1
BSD 3-Clause "New" or "Revised" License
999 stars 161 forks source link

Percent escaping list parameters causes formatting issue #200

Closed tanmays closed 9 years ago

tanmays commented 9 years ago

Hello,

By default the parameters for Creating and Editing a list adds percent escaping to the name and description using the method st_stringByAddingRFC3986PercentEscapesUsingEncoding.

Example list name submitted: Home Design

The above will be displayed on Twitter as Home%20Design instead of Home Design.

A fix would be to directly pass name and description for list parameters without adding percent escapes.

This affects the following APIs:

  1. POST lists/create
  2. POST lists/update
nst commented 9 years ago

I cannot reproduce the bug.

Can you please ensure that you are using the latest version from trunk?

ie by running git clone https://github.com/nst/STTwitter.git

screen shot 2015-06-30 at 21 31 43 screen shot 2015-06-30 at 21 32 02

tanmays commented 9 years ago

Ahh looks like it! Cocoapods didn't fetch the most up to date release. My sincere apologies, you may close the issue.

nst commented 9 years ago

No problem, don't hesitate if you find any problem in the future.