Skip to content

ALLOWED_IFRAME_HOSTS cannot contain multiple values #2

@vincent

Description

@vincent

Summary

The ALLOWED_IFRAME_HOSTS env variable cannot contain multiple values, at least not in the same way ALLOWED_IFRAME_SOURCES does.

What is the expected correct behavior?

Both variables should handle multiline values.

Possible fixes

It is still possible to wrap ALLOWED_IFRAME_HOSTS value with quotes to have the same behaviour. It's just misleading.

I guess it comes from the way the var is push here ? https://github.com/tiredofit/docker-bookstack/blob/dd42494eab6e3b3cf648c74ae2c8e8e3ab9e18bb/install/etc/cont-init.d/30-bookstack#L559

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions