{ "id": "173492", "key": "TIMOB-27086", "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": null, "resolutiondate": null, "created": "2019-04-24T14:40:32.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [ { "id": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-17T17:15:08.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "I noticed this behavior in one of my own apps and tested it in another separate simple app where it also showed up. \r\n\r\nIn the docs, the validatesSecureCertificate property of the HTTPClient is stated to default to false in development (simulator) and test (device) deployment types. Android's behavior with this property is as described, however on iOS the property is undefined in both development and test deployment types.\r\n\r\nEither the docs are inaccurately describing the correct behavior or this is indeed a bug.\r\n[HTTPClient Documentation|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network.HTTPClient-property-validatesSecureCertificate]", "attachment": [ { "id": "66572", "filename": "itemclick_issue.zip", "author": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-25T16:01:17.000+0000", "size": 8664357, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: HTTPClient validatesSecureCertificate property not defaulting to false", "creator": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 7.5.2.GA", "comment": { "comments": [ { "id": "447947", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for reaching out! Can you please test the issue on latest SDK? Open terminal and type: *appc ti sdk install latest*\r\nDo you have a simple test project to demonstrate what you are trying?\r\n", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-04-25T11:24:27.000+0000", "updated": "2019-04-25T11:24:27.000+0000" }, { "id": "447959", "author": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sure thing! I targeted the 8.0.0.GA SDK and tested against that but the same behavior is still cropping up.\r\n\r\nI've attached the sample project. Ignore the name and what not, it's from a prior resolved ticket. There are a couple console logs showing the http client's property discrepancy.", "updateAuthor": { "name": "zlitten", "key": "zlitten", "displayName": "Zachary Litten", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-04-25T16:03:00.000+0000", "updated": "2019-04-25T16:03:39.000+0000" }, { "id": "448482", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "That's indeed an issue. iOS does not assign a default value. However, internally it will be handled correctly as false so it shouldn't have any negative effects. Moving to TIMOB. ", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-05-17T17:05:50.000+0000", "updated": "2019-05-17T17:05:50.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }