Skip to content

Commit

Permalink
Resolve URL components against base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
vani2 committed Sep 26, 2023
1 parent c293b10 commit 4fd175b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Apexy.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Apexy"
s.version = "1.7.2"
s.version = "1.7.3"
s.summary = "HTTP transport library"
s.homepage = "https://github.com/RedMadRobot/apexy-ios"
s.license = { :type => "MIT"}
Expand Down Expand Up @@ -36,4 +36,4 @@ Pod::Spec.new do |s|

s.default_subspecs = ["Alamofire"]

end
end
12 changes: 6 additions & 6 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
PODS:
- Alamofire (5.4.1)
- Apexy (1.4.1):
- Apexy/Alamofire (= 1.4.1)
- Apexy/Alamofire (1.4.1):
- Apexy (1.7.2):
- Apexy/Alamofire (= 1.7.2)
- Apexy/Alamofire (1.7.2):
- Alamofire (~> 5.0)
- Apexy/Core
- Apexy/Core (1.4.1)
- Apexy/Core (1.7.2)

DEPENDENCIES:
- Apexy (from `../`)
Expand All @@ -20,8 +20,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Alamofire: 2291f7d21ca607c491dd17642e5d40fdcda0e65c
Apexy: a9bfb8db4277c3b97d9063cbee34a28c87074c20
Apexy: 984a2c615adf4b5af3432859d768a7a3dec51907

PODFILE CHECKSUM: f86a90e7590ccb3aa7caeceaf315abe256650c66

COCOAPODS: 1.10.1
COCOAPODS: 1.12.1
2 changes: 1 addition & 1 deletion Sources/Apexy/URLRequestBuildable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public extension URLRequestBuildable {
return URLRequest(url: url)
}

var components = URLComponents(url: url, resolvingAgainstBaseURL: false)
var components = URLComponents(url: url, resolvingAgainstBaseURL: true)
components?.queryItems = queryItems

guard let queryURL = components?.url else {
Expand Down

0 comments on commit 4fd175b

Please sign in to comment.