Hi,

Currently, I've went into a problem when page caching is enabled and inline mode is used.
Because of page being caching when switching to/from http/https the image is served with the wrong protocol.

For example:

  1. View the page in HTTP
  2. Page is cached and the image view will remain with the HTTP protocol in the HTML
  3. View the same page in HTTPS
  4. Image is served from HTTP instead of the current protocol (i.e. HTTPS)

This patch removes the protocol from the image URL and serves the image from the current's page protocol.

Comments

chrlvclaudiu created an issue. See original summary.

chrlvclaudiu’s picture

  • Zulljin committed c5457c3 on 8.x-1.x authored by chrlvclaudiu
    Issue #2897469 by chrlvclaudiu: Mixed HTTP protocol when page caching is...

Zulljin credited Zulljin.

zulljin’s picture

Status: Needs review » Fixed

chrlvclaudiu, I apply your patch in dev branch.

  • Zulljin committed e8a6688 on 8.x-1.x authored by chrlvclaudiu
    Issue #2897469 by chrlvclaudiu: Mixed HTTP protocol when page caching is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.