Commit e0766d9d authored by Ide Braakman's avatar Ide Braakman Committed by Damien McKenna
Browse files

Issue #3335688 by idebr, DamienMcKenna: Document meta name="referrer"...

Issue #3335688 by idebr, DamienMcKenna: Document meta name="referrer" relationship with Referrer-policy HTTP header.
parent d15a115e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ Metatag 8.x-1.x-dev, 2022-xx-xx
#3065441 by DamienMcKenna: Updated fixtures file with more Google Plus values.
#3132062 by DamienMcKenna: Updated fixtures with Twitter Cards Type data.
#3336234 by DamienMcKenna: Add UUID values to fixture config items.
#3335688 by idebr, DamienMcKenna: Document meta name="referrer" relationship
  with Referrer-policy HTTP header.


Metatag 8.x-1.22, 2022-09-29
+4 −1
Original line number Diff line number Diff line
@@ -7,10 +7,13 @@ use Drupal\Core\StringTranslation\StringTranslationTrait;
/**
 * The basic "Referrer policy" meta tag.
 *
 * Note that this meta tag serves the same purpose as the HTTP header
 * "Referrer-Policy", so both are not needed.
 *
 * @MetatagTag(
 *   id = "referrer",
 *   label = @Translation("Referrer policy"),
 *   description = @Translation("Indicate to search engines and other page scrapers whether or not links should be followed. See <a href='https://w3c.github.io/webappsec/specs/referrer-policy/'>the W3C specifications</a> for further details."),
 *   description = @Translation("Indicate to search engines and other page scrapers whether or not links should be followed. See <a href='https://w3c.github.io/webappsec/specs/referrer-policy/'>the W3C specifications</a> for further details. Note: this serves the same purpose as the HTTP header by the same name."),
 *   name = "referrer",
 *   group = "advanced",
 *   weight = 5,