Blank page if referrer-policy directive is set
-
This happens at least to version 1.6.2. I did not check older versions.
For testing I deactivated all other plugins.
To reproduce:
1. Make sure headers don’t send a referrer e.g., by adding this to your .htaccess file: “Header set Referrer-Policy: no-referrer”
2. Reload the admin page in order to make the directive apply.
3. Click the clear cache link in the admin’s top row. The cache is cleared, but you get redirected to a blank page. This does not happen, if you click the “Save and Clear Cache” button on the plugin’s options page or if the directive is not set.Please note that this directive can be set easily by plugins such as HTTP headers to improve web site security and users – especially the inexperienced ones – will likely be unaware of this issue.
Also I think, there’s no much you can do about. Maybe check the .htaccess file for such directive and show a warning upon activation of the plugin. Or at least some explanation in the plugin’s description or readme file.
- The topic ‘Blank page if referrer-policy directive is set’ is closed to new replies.