The function _hosting_site_url used, for example, for getting the site base URL when generating the site's cron URL, fails to detect an HTTPS ready site, if the server is using the new hosting_https module instead of the deprecated hosting_ssl.

When the Encryption option of the site is set to Required, the generated URL is not valid for the cron.

Comments

tucho created an issue. See original summary.

tucho’s picture

Issue summary: View changes
tucho’s picture

Status: Active » Needs review
StatusFileSize
new720 bytes

I uploaded a patch the checks for hosting_ssl and hosting_https field and use the https schema if any of them are required.

  • helmo committed e13b09e on 7.x-3.x authored by tucho
    Issue #2941472 by tucho: _hosting_site_url fails to detect HTTPS sites...
helmo’s picture

Status: Needs review » Fixed

Thanks, reworded the magic number comment a bit and committed it.

Status: Fixed » Closed (fixed)

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