Skip to content

Commit e3ca7c7

Browse files
committed
Fix encoding of colon in request query parameters
1 parent b79bda8 commit e3ca7c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/Twift+API.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ extension Twift {
6868
}
6969

7070
components.queryItems = combinedQueryItems
71+
components.percentEncodedQuery = components.percentEncodedQuery?.replacingOccurrences(of: ":", with: "%3A")
7172

7273
return components.url!
7374
}

0 commit comments

Comments
 (0)