Project

General

Profile

Bug #16892

SecureHeaders Unknown config directive image_src

Added by Timo Goebel about 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Fresh develop install gives me the following:

2016-10-12T21:03:33 e6772d1e [app] [F]
21:03:33 rails.1 | | SecureHeaders::ContentSecurityPolicyConfigError (Unknown config directive: image_src=["http://localhost:3808"]):
21:03:33 rails.1 | | app/controllers/application_controller.rb:412:in `allow_webpack'
21:03:33 rails.1 | | app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
21:03:33 rails.1 | | lib/middleware/catch_json_parse_errors.rb:8:in `call'
21:03:33 rails.1 | | lib/middleware/tagged_logging.rb:18:in `call'

We might need to change image_src to img_src

Associated revisions

Revision 589c3a18 (diff)
Added by Timo Goebel about 2 years ago

fixes #16892 - secureheaders expects img_src parameter

History

#1 Updated by The Foreman Bot about 2 years ago

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

#2 Updated by Timo Goebel about 2 years ago

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

#3 Updated by Dominic Cleal about 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

Also available in: Atom PDF