Actions
Bug #17084
closedWebpack dev server missing from CSP on "Welcome" pages
Description
When in foreman is run in development and a welcome page is triggered (for example on /environments) when no entries exist yet.
This is done via a `before_filter` in the Application controller, when the welcome filter calls render it'll skip all before filters following.
One of the skipped filters is 'allow_webpack' which should add the webpack_dev server to the CSP rule, when this is not done the browser won't load the bundled CSS and JS and throw JS errors.
This is only a bug for development environments, therefore I'll set it to Low.
Updated by Dominic Cleal about 8 years ago
- Related to Feature #9117: Update to secure_headers 3.x added
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3975 added
Updated by Dominic Cleal about 8 years ago
- Assignee set to Sebastian Gräßl
- Translation missing: en.field_release set to 189
Updated by Sebastian Gräßl about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset b4098eddf24238db0b815c16011e1d65909aea63.
Actions