{ "id": "103106", "key": "AC-2549", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-04-01T23:30:34.000+0000", "created": "2012-10-11T05:37:03.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:37.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Just realized this still exists. It's been around forever, and I've had a workaround in place. Out of curiosity I tried on 2.1.2 (or .3), and it's still an issue.\r\n\r\n1. If the local .html file contains a space in the name, such as \"This File.html\", then passing it as the url to Ti.UI.createWebView will NOT execute any JS files included by the file.\r\n\r\n2. If the local .html file does not contain a space, such as \"ThisFile.html\", then any JS included by the file is evaluated properly.\r\n\r\n3. This is Android; iOS works fine.\r\n", "attachment": [], "flagged": false, "summary": "Android webview won't evaluate JS if the url contains a space", "creator": { "name": "kt", "key": "kt", "displayName": "KT", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kt", "key": "kt", "displayName": "KT", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "237145", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi KT,\n\nCan you provide a reproducible test case for this issue so that we can verify this as a problem.", "updateAuthor": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-04T23:52:17.000+0000", "updated": "2013-02-04T23:52:17.000+0000" }, { "id": "245073", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi KT,\r\n\r\nPlease pass the URL to JavaScript's encodeURI(uri)\r\n\r\nThanks.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T23:30:34.000+0000", "updated": "2013-04-01T23:30:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }