From befbcf5a016fda9f2005a1416242774e79aac698 Mon Sep 17 00:00:00 2001 From: Gligor Kotushevski Date: Mon, 25 May 2020 13:47:13 +1200 Subject: [PATCH] fixing target path for when URI needs encoding --- Classes/Core/Networking.swift | 2 +- GKNetworkingKit.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Core/Networking.swift b/Classes/Core/Networking.swift index 9fbaede..cfcd772 100644 --- a/Classes/Core/Networking.swift +++ b/Classes/Core/Networking.swift @@ -72,7 +72,7 @@ extension Networking { if target.ignoreBaseURL { url = target.path } else { - url = target.baseURL.appendingPathComponent(target.path).absoluteString + url = target.baseURL.absoluteString + target.path } return Endpoint(url: url, sampleResponseClosure: stubResponseClosure, method: target.method, task: target.task, httpHeaderFields: httpHeaderFields) } diff --git a/GKNetworkingKit.podspec b/GKNetworkingKit.podspec index 5ff2ac6..84292e5 100644 --- a/GKNetworkingKit.podspec +++ b/GKNetworkingKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'GKNetworkingKit' - s.version = '2.0.0' + s.version = '2.0.1' s.summary = 'GKNetworkingKit framework.' s.description = <<-DESC * GKNetworkingKit framework