Skip to content

Commit

Permalink
Masque le referer lors de l'ouverture d'un lien externe (fixes #55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blount committed Jun 14, 2017
1 parent 5cd0b99 commit 6b92dd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
@@ -1,6 +1,7 @@
<?php

header('Content-Type: text/html; charset=utf-8');
header("Content-Type: text/html; charset=utf-8");
header("Referrer-Policy: same-origin");

// PHP >= 5.4.0 nécessaire
if (-1 == version_compare(PHP_VERSION, "5.4")) {
Expand Down

0 comments on commit 6b92dd1

Please sign in to comment.