{ "id": "174109", "key": "TIMOB-27385", "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": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-30T21:07:57.000+0000", "created": "2019-09-09T11:32:54.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engSchedule", "regression" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-30T21:07:57.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": "Within WKWebView network requests seem to strip out the {{=}} characters from request body where they didn't in WebView pre-WKWebView (aka 7.x)\r\n\r\nA sample app demonstrating the problem can be found here: https://github.com/hnestmann/titanium-bug/\r\n\r\n{quote}basically it calls this URL to set the cookie: https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Set\r\n\r\nand this to play it back: https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Check\r\n\r\nin browsers and 7.5.1 the clients send SimpleValue====\r\n\r\nin 8.X.X the clients (httpClient and webViews) send SimpleValue\r\n{quote}\r\n\r\n\r\n\r\n", "attachment": [ { "id": "66931", "filename": "image (3).png", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-09T11:31:52.000+0000", "size": 272871, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: WKWebView is stripping out = characters in network requests", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hnestmann", "key": "hnestmann", "displayName": "Holger Nestmann", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS with SDK 8.0+", "comment": { "comments": [ { "id": "451209", "author": { "name": "hnestmann", "key": "hnestmann", "displayName": "Holger Nestmann", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank @Rene Pot for raising the ticket on my behalf.\r\nI did inspect the webview in safari and the webview shows the correct cookie values including the equal signs. But they seem to be skipped on the way to the server.", "updateAuthor": { "name": "hnestmann", "key": "hnestmann", "displayName": "Holger Nestmann", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-09T11:42:08.000+0000", "updated": "2019-09-09T11:42:08.000+0000" }, { "id": "452112", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/11286\r\n\r\nTest Case - \r\n\r\n{code:java}\r\nconst win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'red'\r\n});\r\nvar webView = Ti.UI.createWebView({\r\n\ttop: 0,\r\n\theight: 200,\r\n\turl: 'https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Set'\r\n});\r\nwin.add(webView);\r\n\r\nvar webView2 = Ti.UI.createWebView({\r\n\ttop: 250,\r\n\theight: 200\r\n});\r\nwin.add(webView);\r\n\r\nwebView.addEventListener('load', function(e){\r\n webView2.url = 'https://hnestmann-inside-eu01-dw.demandware.net/on/demandware.store/Sites-RefArch-Site/en_US/CookieCheck-Check'\r\n webView2.reload();\r\n});\r\nwin.add(webView2);\r\nwin.open();\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-17T00:19:51.000+0000", "updated": "2019-10-17T00:20:39.000+0000" }, { "id": "452238", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-24T14:15:10.000+0000", "updated": "2019-10-24T14:15:10.000+0000" }, { "id": "452370", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-10-30T15:46:17.000+0000", "updated": "2019-10-30T15:46:17.000+0000" }, { "id": "452393", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS: 10.14.5\r\nSDK: 8.3.0.v20191030085531\r\nAppc CLI: 7.1.1\r\nJDK: 1.8.0_162\r\nNode: 10.5.0\r\nStudio: 5.1.4.201909061933\r\nXcode: 11.1\r\nDevice: iOS simulator 13.1, 12.2", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-30T21:07:57.000+0000", "updated": "2019-10-30T21:07:57.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }