MediaProvider does not respect HTTPS scheme setting when creating media URLs

  • If the scheme attribute of the site definition is set to https and the AlwaysIncludeServerUrl setting of Link Manager is set to true, the MediaProvider.GetMediaUrl() method does not respect the scheme attribute of the site, so the media URLs are still generated with HTTP protocol.

  • To fix the issue, download the relevant patch for the affected Sitecore XP version and follow the instructions in the readme file inside the archive: Sitecore.Support.170025.

    If you need a fix for other Sitecore XP versions, contact Sitecore Support.

Applies to:

CMS 8.1 Update-1+

September 30, 2019
September 30, 2019

Reference number: