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.
2 parents cc87cd1 + 5b6f48a commit 4fb9e2eCopy full SHA for 4fb9e2e
IterateSDK/SDK/UI/Survey/Controllers/SurveyViewController.swift
@@ -86,7 +86,7 @@ final class SurveyViewController: UIViewController {
86
// Use the survey's captured response properties instead of the global ones
87
if let responseProperties = survey.capturedResponseProperties ?? Iterate.shared.responseProperties {
88
params.append(contentsOf: responseProperties.map {
89
- let value = "\($0.value.value)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? ""
+ let value = ("\($0.value.value)".addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "").replacingOccurrences(of: "&", with: "%26")
90
return "response\($0.value.typeString)_\($0.key)=\(value)" })
91
}
92
0 commit comments