{ "id": "151385", "key": "TIMOB-19568", "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": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" }, { "id": "16778", "description": "Release 5.0.1", "name": "Release 5.0.1", "archived": false, "released": true, "releaseDate": "2015-09-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-22T23:02:28.000+0000", "created": "2015-09-22T16:41:23.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-09-24T18:13:41.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" }, { "id": "10207", "name": "Tooling" } ], "description": "When building an app that defines the ATS policy in the tiapp.xml section or custom Info.plist and the NSAllowsArbitraryLoads is set to true (i.e. disable ATS), the iOS build prints the incorrect message:\r\n\r\n{code}\r\nATS enabled, but appcelerator.com sites will be unreachable\r\n{code}\r\n\r\nATS is not actually enabled.", "attachment": [], "flagged": false, "summary": "iOS: Wrong log message when ATS is explicitly disabled", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 495, "state": "closed", "name": "2015 Sprint 19 Tooling", "startDate": "2015-09-14T16:11:58.378Z", "endDate": "2015-09-26T01:11:00.000Z", "completeDate": "2015-09-28T18:59:46.802Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "364666", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, build an app without a custom Info.plist or section in the tiapp.xml. It should say \"Disabling ATS\".\r\n\r\nNext add this to the tiapp.xml:\r\n\r\n{code}\r\n\r\n \r\n NSAppTransportSecurity\r\n \r\n NSAllowsArbitraryLoads\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis should output \"ATS explicitly disabled\".\r\n\r\nNext set \"NSAllowsArbitraryLoads\" to false:\r\n\r\n{code}\r\n\r\n \r\n NSAppTransportSecurity\r\n \r\n NSAllowsArbitraryLoads\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nThis should output \"ATS enabled, injected appcelerator.com into ATS whitelist\".\r\n\r\nNext, add the following property to test disabling the injection of appc.com:\r\n\r\n{code}\r\nfalse\r\n{code}\r\n\r\nBuild again and you'll see \"ATS enabled, however *.appcelerator.com are not whitelisted\".", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-22T17:23:24.000+0000", "updated": "2015-09-22T17:23:24.000+0000" }, { "id": "364667", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7218\r\n5_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/7219", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-22T17:24:03.000+0000", "updated": "2015-09-22T17:24:03.000+0000" }, { "id": "364740", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Master PR merged.\r\n5_0_X pending.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-22T23:02:11.000+0000", "updated": "2015-09-22T23:02:11.000+0000" }, { "id": "364907", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11 (15A279b)\r\nStudio 4.3.1.201509222258\r\nTi SDK 5.0.1.v20150923102330\r\nAppc NPM 4.2.0\r\nAppc CLI 5.0.2-19\r\nTi CLI 5.0.4\r\nAlloy 1.7.10\r\nArrow 1.2.62\r\nXcode 7.0 (7A218)\r\nNode v0.10.37\r\nJava 1.7.0_45\r\nproduction\r\n\r\nLog messages are correctly displayed for the different plist/tiapp settings", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-24T18:13:41.000+0000", "updated": "2015-09-24T18:13:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }