{ "id": "175995", "key": "DAEMON-339", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "21189", "description": "", "name": "Appc Daemon 4.0.1", "archived": false, "released": true, "releaseDate": "2021-01-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-01-26T18:33:08.000+0000", "created": "2021-01-26T13:03:22.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20871", "description": "", "name": "Appc Daemon 4.0.0", "archived": false, "released": true, "releaseDate": "2021-01-20" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2021-01-26T18:33:08.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15609", "name": "appcd-http" } ], "description": "When the webpack plugin starts up it logs {{http://127.0.0.1:1732/webpack/latest/web}} which is ultimately just a redirect to {{http://localhost:8084/webpack/}}, in daemon 3.2.0 this worked just fine. But in daemon 4.0.0 the redirect doesn't occur and {{Refused to execute inline script because it violates the following Content Security Policy directive: \"script-src 'self'\". Either the 'unsafe-inline' keyword, a hash ('sha256-rbDz5zKbrDcvUjvzY4CUJr/ihRIJa3MRNe6JClpt9Jc='), or a nonce ('nonce-...') is required to enable inline execution}} is logged in the console", "attachment": [], "flagged": false, "summary": "Redirect to webpack UI no longer works", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "closedSprints": [ { "id": 1215, "state": "closed", "name": "2021 Sprint 2", "startDate": "2021-01-18T20:36:00.000Z", "endDate": "2021-01-29T20:36:00.000Z", "completeDate": "2021-01-31T17:42:28.052Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "458077", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This is down to the koa-helmet 5 -> 6 update which includes the helmet 3 -> 4 update. Helmet 4 enabled CSP by default https://github.com/helmetjs/helmet/wiki/Helmet-4-upgrade-guide, it either needs disabling completely by passing {{\\{contentSecurityPolicy: false\\}}} to koa-helmet, or by setting the CSP to be valid", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-01-26T14:27:49.000+0000", "updated": "2021-01-26T14:27:49.000+0000" }, { "id": "458082", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/appc-daemon/pull/522", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2021-01-26T17:40:35.000+0000", "updated": "2021-01-26T17:40:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }