{ "id": "61349", "key": "TIMOB-717", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T14:07:10.000+0000", "created": "2011-04-15T02:35:03.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "ios", "tiapp.xml" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-27T14:07:10.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": "{html}

When creating a new Titanium Mobile project within Titanium, or\nchange the project properties within titanium, ampersand characters\n(&) in the \"application description\" field do not get escaped\nproperly (&). Ampersands in the \"application name\", for\ninstance, get properly escaped. When building the project, the XML\nparser throws an exception (xml.parsers.expt.ExpatError: not\nwell-formed (invalid token). Angle brackets also do not seem to get\nescaped in the project description field.

\n

[there are other problems with ampersand characters, but I will\nreport them separately]

\n

Used Titanium Developer 1.0 with the latest Mobile SDK.

{html}", "attachment": [], "flagged": false, "summary": "Bug: No escaping of special characters in project description", "creator": { "name": "christianwenz", "key": "christianwenz", "displayName": "Christian Wenz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "christianwenz", "key": "christianwenz", "displayName": "Christian Wenz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123878", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Affects both Android and iOS but I'm going to tag it for me\nbecause I'm good at solving these problems, yessir.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:35:03.000+0000", "updated": "2011-04-15T02:35:03.000+0000" }, { "id": "161042", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug Scrub: Valid. No test case exists. 'tiapp.xml' is not created at all.\r\n\r\nTested On:\r\nMac OSX Lion\r\nTiMob Version: 1.7.2\r\nTiStud Version: 1.0.2\r\n", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-28T16:54:45.000+0000", "updated": "2011-07-28T16:54:45.000+0000" }, { "id": "170681", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Bug not valid, does not reproduce in:\r\nTiMOB sdk version: 1.8.0.v20111027132634\r\nStudio version : 1.0.6.201110251616\r\nOS version : os x Lion\r\nDevice tested on: iphone 5.0\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-10-27T14:06:31.000+0000", "updated": "2011-10-27T14:06:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }