We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code crashes
var url = WebURL("http://test.com") let params: [(String, String)] = [] url?.formParams.append(contentsOf: params)
Line 868 is the offender
swift-url/Sources/WebURL/WebURL+FormParameters.swift
Lines 866 to 870 in 186d0b3
The text was updated successfully, but these errors were encountered:
Fix a bug when appending an empty array of form params.
a675c03
Also makes the logic a little bit clearer and adds tests for empty key/value names. Fixes: #140
a43c6ec
7d93ed1
karwa
Successfully merging a pull request may close this issue.
The following code crashes
Line 868 is the offender
swift-url/Sources/WebURL/WebURL+FormParameters.swift
Lines 866 to 870 in 186d0b3
The text was updated successfully, but these errors were encountered: