diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-08-18 10:36:24 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-08-18 10:36:24 -0400 |
commit | 6283168cdd843759b5e7766cf09d4a2e67d76543 (patch) | |
tree | ee276b76e171f5f4d3bec30064c957e2e40c9aef | |
parent | f96869d7a7515b1962892a47d254f2ccc571b821 (diff) | |
download | sdl_ios-6283168cdd843759b5e7766cf09d4a2e67d76543.tar.gz |
Fix an errant space
-rw-r--r-- | SmartDeviceLink/SDLURLSession.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLURLSession.m b/SmartDeviceLink/SDLURLSession.m index 5f561160b..b938ed666 100644 --- a/SmartDeviceLink/SDLURLSession.m +++ b/SmartDeviceLink/SDLURLSession.m @@ -64,7 +64,7 @@ static float DefaultConnectionTimeout = 45.0; - (void)dataFromURL:(NSURL *)url completionHandler:(SDLURLConnectionRequestCompletionHandler)completionHandler { // Apple no longer allows HTTP URLs without a special exception as of Jan. 2017 if ([url.scheme isEqualToString:@"http"]) { - url = [NSURL URLWithString:[url.absoluteString stringByReplacingCharactersInRange:NSMakeRange(0, 4) withString:@"https"]]; + url = [NSURL URLWithString:[url.absoluteString stringByReplacingCharactersInRange:NSMakeRange(0, 4) withString:@"https"]]; } NSURLRequest *request = [NSURLRequest requestWithURL:url cachePolicy:self.cachePolicy timeoutInterval:self.connectionTimeout]; |