Skip to content

Commit befbcf5

Browse files
committed
fixing target path for when URI needs encoding
1 parent 11d2a82 commit befbcf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Classes/Core/Networking.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ extension Networking {
7272
if target.ignoreBaseURL {
7373
url = target.path
7474
} else {
75-
url = target.baseURL.appendingPathComponent(target.path).absoluteString
75+
url = target.baseURL.absoluteString + target.path
7676
}
7777
return Endpoint(url: url, sampleResponseClosure: stubResponseClosure, method: target.method, task: target.task, httpHeaderFields: httpHeaderFields)
7878
}

GKNetworkingKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'GKNetworkingKit'
4-
s.version = '2.0.0'
4+
s.version = '2.0.1'
55
s.summary = 'GKNetworkingKit framework.'
66
s.description = <<-DESC
77
* GKNetworkingKit framework

0 commit comments

Comments
 (0)