Page MenuHomePhabricator

Referrer origin error in wikitech.wikimedia.org
Closed, DuplicatePublic

Description

When visiting wikitech.wikimedia.org, the following error is thrown in the console:

Failed to set referrer policy: The value 'Origin When Cross-Origin' is not one of 'always', 'default', 'never', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-crossorigin', or 'unsafe-url'. This document's referrer policy has been left unchanged.

The reference in the code seems to be the line

<meta name="referrer" content="Origin When Cross-Origin" />

Event Timeline

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptFeb 22 2016, 10:38 PM

Well, this was in my backscroll

	DarTar	Krinkle, csteipp this is hilarious, apparently people were referring to the referrer/referer spelling
	DarTar	two possible typos/inconsistent implementations within a single meta tag, wow
	Krinkle	DarTar: Firefox and Chrome both support both.
	DarTar	Krinkle: that’s awesome
	DarTar	so we should probably go for the correctly spelled one, right? csteipp
	Krinkle	DarTar: So let's use the new variant
	DarTar	+1
	Krinkle	DarTar: Hm.. typo was the key instead? Not the value?
	Krinkle	(I'm aware of the ancient referer typo)
	DarTar	apparently, and yes the debate on the extra R made history
Krenair merged a task: Restricted Task.Feb 23 2016, 12:08 AM
Krenair added a subscriber: MaxSem.