-
When I view the recorded referrers in the log, they only shows the domain. For example, if I place a short link on: Shouldn't the referrer be: Is this by design? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Browsers are shifting/have shifted to a stricter default referrer policy. While the old default was YOURLS only caps the length of the referrer, though a plugin could further modify it: Lines 220 to 224 in 2f3ea60 |
Beta Was this translation helpful? Give feedback.
Browsers are shifting/have shifted to a stricter default referrer policy. While the old default was
no-referrer-when-downgrade
, cross-origin requests will likely only get the origin (domain) by default from most browsers now as thestrict-origin-when-cross-origin
policy has been adopted as the new default by browsers including Firefox and Chrome/Chromium.YOURLS only caps the length of the referrer, though a plugin could further modify it:
YOURLS/includes/functions.php
Lines 220 to 224 in 2f3ea60