Skip to content

Map providers are being blocked by Content Security Policies #11153

@Crashillo

Description

@Crashillo

Since the inclusion of #10700 the map tiles are being blocked by default, unless you append to config/initializers/decidim.rb the following setup (e.g. OSM):

  config.content_security_policies_extra = {
    "img-src" => %w(https://*.openstreetmap.org)
  }

At least, that should be referred from https://docs.decidim.org/en/develop/services/maps.html, or including a set of "safe domains" that Decidim uses internally, once the development_app is created

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions