You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+[NSURL gh_decode] assumes UTF-8 urlencoding - if used with a differently encoded URL (e.g. Latin-1) it crashes hard.
I was unsure about the right course of action here, though - raise an exception, ignore the broken entry entirely, or (if it's the value that's busted) use an NSNull instead?
(Also, does gh_decode do anything that -[NSString stringByReplacingPercentEscapesUsingEncoding:] doesn't?)
The text was updated successfully, but these errors were encountered:
+[NSURL gh_decode] assumes UTF-8 urlencoding - if used with a differently encoded URL (e.g. Latin-1) it crashes hard.
I was unsure about the right course of action here, though - raise an exception, ignore the broken entry entirely, or (if it's the value that's busted) use an NSNull instead?
(Also, does gh_decode do anything that -[NSString stringByReplacingPercentEscapesUsingEncoding:] doesn't?)
The text was updated successfully, but these errors were encountered: