{"action":"opened","issue":{"url":"https://api.github.com/repos/SwiftSMS/common/issues/1","labels_url":"https://api.github.com/repos/SwiftSMS/common/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SwiftSMS/common/issues/1/comments","events_url":"https://api.github.com/repos/SwiftSMS/common/issues/1/events","html_url":"https://github.com/SwiftSMS/common/issues/1","id":90981826,"number":1,"title":"Stop duplicate cookies from overriding valid cookie","user":{"login":"fluffy88","id":1682260,"avatar_url":"https://avatars.githubusercontent.com/u/1682260?v=3","gravatar_id":"","url":"https://api.github.com/users/fluffy88","html_url":"https://github.com/fluffy88","followers_url":"https://api.github.com/users/fluffy88/followers","following_url":"https://api.github.com/users/fluffy88/following{/other_user}","gists_url":"https://api.github.com/users/fluffy88/gists{/gist_id}","starred_url":"https://api.github.com/users/fluffy88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluffy88/subscriptions","organizations_url":"https://api.github.com/users/fluffy88/orgs","repos_url":"https://api.github.com/users/fluffy88/repos","events_url":"https://api.github.com/users/fluffy88/events{/privacy}","received_events_url":"https://api.github.com/users/fluffy88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-25T14:33:15Z","updated_at":"2015-06-25T14:33:15Z","closed_at":null,"body":"Some operators (I'm looking at you Meteor) send duplicate cookies, one valid cookie with data and a second cookie with the same name which has no data and is expired.\r\n\r\nWith the current implementations of the java.net.URLConnection it seems that it processes Set-Cookie header in such a manner that the expired cookies are overriding the valid cookies and therefore our session is getting destroyed."}}