The Drupal\dfp\View\TagViewBuilder::buildPreTag method uses a hardcoded "http" scheme for the short tag links. This can causes mixed-content errors when the site is being run on https.

Comments

wells created an issue. See original summary.

wells’s picture

This patch resolves the issue by using the "//" scheme for short tags so that the site scheme is inherited.

mikeegoulding’s picture

Status: Active » Reviewed & tested by the community

The patch applies fine and confirmed that ads render as short tags with https or http depending on the site protocol.

  • VladimirAus committed 3fc3fe9 on 8.x-1.x authored by wells
    Issue #3088142 by wells, mikeegoulding, VladimirAus: Short tag uses...
vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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