{ "id": "117578", "key": "TIMOB-14651", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-08-12T18:27:22.000+0000", "created": "2013-07-25T00:33:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [ { "id": "30878", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "115909", "key": "TIMOB-14224", "fields": { "summary": "Android: xhr.abort() call makes all subsequent xhr calls fail completely", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30391", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115909", "key": "TIMOB-14224", "fields": { "summary": "Android: xhr.abort() call makes all subsequent xhr calls fail completely", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T18:02:09.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Feature Request\r\nTo add the ability to custom Cookie management for HttpClient Path Validation. To achieve this Titanium could allow to custom cookie policy and registering their own cookie support.\r\n\r\nh6.Rationale\r\nWhen the server is setting a cookie with an invalid path and HttpClient is properly rejecting the cookie. According to the RFC spec, a server must set the cookie path using the URL path, or an ancestor path. \r\n\r\nh6.Use case\r\nOn Titanium abort a XHR tears down underlying TCP connection which forces client to accept cookies.\r\n\r\nh6.Stack Trace\r\n{code}\r\n06-13 16:18:22.125: W/ResponseProcessCookies(21195): Cookie rejected: \"BasicClientCookie[version=0,name=ObFormLoginCookie,domain=sso.cisco.com,path=/autho/login/loginaction.html,expiry=null]\". Illegal path attribute \"/autho/login/loginaction.html\". Path of origin: \"/obrareq.cgi\"\r\n{code}\r\n\r\nTo avoid this Browsers can ignore the spec and just accept the cookie.\r\n\r\nh6.Additional details\r\nFor example, when accessing http://foo.com/a/b/, the server may set a cookie with path /a/b/, /a, or /, but not /a/c. But since most all browsers (I only checked Firefox) ignore the spec and accept the cookie, I need HttpClient to do the same.\r\n\r\nSimilar discussion: http://highaltitudedev.blogspot.mx/2011/03/httpclient-cookie-path-validation.html", "attachment": [], "flagged": false, "summary": "Android: Add support for HttpClient Cookie Path Validation", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Android (All versions)\r\nTitanium 3_1_X", "comment": { "comments": [ { "id": "265292", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/4549", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-07T06:20:04.000+0000", "updated": "2013-08-07T06:20:04.000+0000" }, { "id": "266006", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This feature is not necessary for the customer since what the customer wants is to fix TIMOB-14224.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T18:29:10.000+0000", "updated": "2013-08-12T18:29:10.000+0000" }, { "id": "413857", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T18:02:09.000+0000", "updated": "2017-03-20T18:02:09.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }