Some of our unit tests have started failing on iOS 10.1.2 and macOS 10.12.2 — 
we tracked this down to a change in the behavior of NSHTTPCookieStorage. A 
cookie whose path is an empty string used to be added to the cookie storage, 
but now is not.

[[NSHTTPCookieStorage sharedHTTPCookieStorage] setCookie: [NSHTTPCookie 
cookieWithProperties: 
                                          @{ NSHTTPCookieName: @"cookie1",
                                             NSHTTPCookieDomain: 
@"mycookie.com",
                                             NSHTTPCookiePath: @"",
                                             NSHTTPCookieValue: @"sweet",
                                             }]];
After running that expression, there are no cookies registered for 
"http://mycookie.com”, in recent OS updates.

Is this an intentional change or a regression?

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to