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 bf71e9c commit 4375ddbCopy full SHA for 4375ddb
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