Project

General

Profile

Actions

Bug #17084

closed

Webpack dev server missing from CSP on "Welcome" pages

Added by Sebastian Gräßl over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #9117: Update to secure_headers 3.xClosedTomer Brisker01/26/2015Actions
Actions #1

Updated by Dominic Cleal over 7 years ago

Actions #2

Updated by Dominic Cleal over 7 years ago

  • Category set to Web Interface
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3975 added
Actions #4

Updated by Dominic Cleal over 7 years ago

  • Assignee set to Sebastian Gräßl
  • translation missing: en.field_release set to 189
Actions #5

Updated by Sebastian Gräßl over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Marek Hulán over 7 years ago

  • Target version set to 1.4.2
Actions

Also available in: Atom PDF