]> CyberLeo.Net >> Repos - Github/YOURLS.git/commit
Remove referrer meta tag from admin head
authordgw <dgw@technobabbl.es>
Fri, 14 Sep 2018 06:39:18 +0000 (01:39 -0500)
committerdgw <dgw@technobabbl.es>
Fri, 14 Sep 2018 06:39:18 +0000 (01:39 -0500)
commitf3c5791201cbf5c13d91b7e35c1e9fe5ca94c11d
tree4dbc11a87031de2620db2fdcb1584ec64516fb28
parent3485c271580d88586fae0f7ee5027e5f8ed723fe
Remove referrer meta tag from admin head

It's not clear why this tag was added, and it's even less clear what
benefit there would be to keeping it. Its only real function seems to be
leaking YOURLS' admin panel location (see #2432), which is not desirable.

A hook (or hooks) will likely be added to let plugins control referrer
behavior, by adding the relevant HTTP header(s) and/or meta tag(s).
includes/functions-html.php