[pmwiki-users] GDPR

Petko Yotov 5ko at 5ko.fr
Sat Sep 8 02:35:26 PDT 2018


A quick reply to a paragraph in a previous message that the mailing list 
never delivered:

   
https://www.pmichaud.com/pipermail/pmwiki-users/2018-September/064165.html

There are 3 ways to prevent HTTP referrers, either in links, or in 
headers, or  with a dereferer service:

1.  https://caniuse.com/#feat=rel-noreferrer

You can configure this in PmWiki with $UrlLinkFmt (in config.php):

   $UrlLinkFmt =
     "<a class='urllink' href='\$LinkUrl'
      title='\$LinkAlt' rel='nofollow noreferrer'>\$LinkText</a>";

2. 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy

This can be easily set in a .htaccess file or other server 
configuration:

   Header set Referrer-Policy "no-referrer"


The 2 first ways work only in recent browsers, otherwise you can use a 
"Dereferer" service, for example:

3.  http://dereferer.org/?https://www.pmwiki.org

For example, this should work:
   $UrlLinkFmt =
     "<a class='urllink' href='http://dereferer.org/?\$LinkUrl'
      title='\$LinkAlt' rel='nofollow noreferrer'>\$LinkText</a>";

Petko

-- 
If you upgrade :  http://www.pmwiki.org/Upgrades





More information about the pmwiki-users mailing list