{ "id": "144827", "key": "TIMOB-18579", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2015-02-17T16:58:58.000+0000", "created": "2015-02-17T07:37:27.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-4.0.0" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:14:13.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description:\r\n\r\nThis is not a regression.\r\nsetTlsVersion( tlsVersion ) method doesn't handle invalid values. It should make a check for invalid value rather than setting any given value.\r\n\r\nSTEPS TO REPRODUCE:\r\n1.Create a classic app and replace it app.js with the attached one.\r\n2. Run the app on device and check the console message.\r\n\r\nACTUAL RESULT:\r\n2. It sets the value of Tls to '400' which is an invalid value.\r\n\r\nEXPECTED RESULT:\r\n2. It should give error message to user for setting invalid value.\r\n\r\n", "attachment": [ { "id": "54155", "filename": "app.js", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-02-17T07:37:27.000+0000", "size": 876, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: Titanium.Network.HTTPClient setTlsVersion( tlsVersion ) doesn't handle invalid tlsVersion values.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Appc Studio : 4.0.0.201502111039 \r\nTi SDK : 4.0.0.v20150213151526 \r\nMac OSX : 10.10.1 \r\nAlloy : 1.5.1 \r\nCLI - 3.6.0-dev \r\nCode Processor: 1.1.1 \r\niPhone 6+: iOS 8.1", "comment": { "comments": [ { "id": "343548", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Since deprecating the ASI library and moving to the NSURLRequest framework, iOS has lost the ability to set a TLS Version for the request. We can not do that without using private API's. \r\n\r\nEssentially setTlsVersion() is a no-op on iOS. The TLS Version used is the one negotiated during the SSL handshake. \r\n\r\nMarking this as Won't Fix. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-17T16:58:58.000+0000", "updated": "2015-02-17T16:58:58.000+0000" }, { "id": "413731", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:14:13.000+0000", "updated": "2017-03-20T17:14:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }