-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[SR-3329] URLQueryItems are not getting encoded in to the URL #719
New issue
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
Conversation
@@ -1073,7 +1073,8 @@ CF_EXPORT CFArrayRef _CFURLComponentsCopyQueryItems(CFURLComponentsRef component | |||
else { | |||
valueString = CFSTR(""); | |||
} | |||
CFTypeRef keys[] = {CFSTR("name"), CFSTR("value")}; | |||
CFStringRef name = CFSTR("name"); | |||
CFTypeRef keys[] = {name, CFSTR("value")}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To work-around SR-2462 compiler bug.
I'm just kicking off a test. Thanks. @swift-ci please test |
The build passed successfully in the local environment .Looking in to the build failure |
|
We see a similar failure in #713 It again happens in the new test case |
@swift-ci please test |
A known libkqueue test failure. Triggering the tests again. @swift-ci please test |
@swift-ci please test |
1 similar comment
@swift-ci please test |
Since #713 also crashed the test with the same error, i checked this PR on my 16.04 local environment. The issue seems to be in let entryName = oneEntry.object(forKey: "name"._cfObject) as! String
let entryValue = oneEntry.object(forKey: "value"._cfObject) as? String After I changed this lines to: let swiftEntry = oneEntry._swiftObject
let entryName = swiftEntry["name"] as! String
let entryValue = swiftEntry["value"] as? String The issue seemed to be fixed and test performed without errors. |
@ naithar : Thanks for debugging ..I was still in process of recreating it as I don't have Ubuntu 16.0.4 .. |
0b807eb
to
807bd72
Compare
@swift-ci please test |
@naithar : Thanks again ..It seems the build is passing with your suggested changes .Please let me know if you want to create PR or shall I go ahead with this PR including your suggested changes too .. |
@saiHemak you are welcome :) Feel free to use my suggested changes in this PR, i won't mind. |
@naithar : Thank you :) |
@parkera : Please review .. |
Thanks! |
@swift-ci test and merge |
No description provided.