Skip to content

[Asset] Use http base_urls for non secure requests #21249

Closed
@killerwolf

Description

@killerwolf
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? yes/no
Symfony version 3.2.0

RequestContextAware assets serving

The documentation (Asset Component documentation) states:
HTTPs or protocol-relative URLs for HTTPs requests, any base URL for HTTP requests

Is there a way to keep consistency with main request ? if request are http then use only HTTP base_urls.

Thanks

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