Skip to content

_wrapEsi() should always return http:// URLs #2657

Closed
@boldhedgehog

Description

@boldhedgehog

I'm trying to configure the frontend to be SSL only. So all my links start with https://

Magento\PageCache\Observer\ProcessLayoutRenderElement::_wrapEsi() generates URLs starting with https://

<esi:include src="https://magetwo.local/page_cache/block/esi/blocks/[%22catalog.topnav%22]/handles/[%22default%22,%22cms_index_index%22,%22cms_page_view%22,%22cms_index_index_id_home%22]/"/>

As I understand, Varnish has no SSL functionality, so this include is not processed.

Can the method _wrapEsi() be changed that way, so it always returns http:// links?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions