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 90eae90 commit 1025aa9Copy full SHA for 1025aa9
Sources/Apollo/URLQueryParameterTransformer.swift
@@ -48,8 +48,9 @@ public struct URLQueryParameterTransformer {
48
components.queryItems = queryItems
49
}
50
51
+ let allowedCharacters = CharacterSet(charactersIn: "+;").inverted
52
components.percentEncodedQuery =
- components.percentEncodedQuery?.replacingOccurrences(of: "+", with: "%2B")
53
+ components.percentEncodedQuery?.addingPercentEncoding(withAllowedCharacters: allowedCharacters)
54
55
return components.url
56
0 commit comments