devinross/tapkulibrary — Issue #131: URLEncode does not encode ampersand or slash
Author: bdesham
Created: 2011-12-20 05:32:06+00:00
State: open

The `URLEncode` method added to `NSString` should encode all of `!*'();:@&=+$,/?#[]`, according to [Wikipedia](https://secure.wikimedia.org/wikipedia/en/wiki/Url_encoding#Types_of_URI_characters), but in my testing at least two of these (`&` and `/`) are not encoded. (Changing the method to use `NSUTF8StringEncoding` instead of `NSASCIIStringEncoding` does not fix the issue.)