We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc31b54 commit 1b27d20Copy full SHA for 1b27d20
apollo-ios/Sources/Apollo/GraphQLGETTransformer.swift
@@ -49,8 +49,9 @@ public struct GraphQLGETTransformer {
49
components.queryItems = queryItems
50
}
51
52
+ let allowedCharacters = CharacterSet(charactersIn: "+;").inverted
53
components.percentEncodedQuery =
- components.percentEncodedQuery?.replacingOccurrences(of: "+", with: "%2B")
54
+ components.percentEncodedQuery?.addingPercentEncoding(withAllowedCharacters: allowedCharacters)
55
56
return components.url
57
0 commit comments