Reading List
URL/NSURL Double-Encodes Characters Unnecessarily from Michael Tsai RSS feed.
URL/NSURL Double-Encodes Characters Unnecessarily
Jeff Johnson: The older, simpler API [NSURL URLWithString:URLString] behaves the same as [NSURL URLWithString:URLString encodingInvalidCharacters:YES] when your code is compiled with the iOS 17 or macOS 14 SDK. So much for backward compatibility! [NSURL URLWithString:URLString] continues to work fine with example 1, leaving the URL string untouched, but it mangles example 2: https://example.org?url=https%253A%252F%252Fexample.org%253Ffoo%5B0%5D%253Dbar Notice that […]