summaryrefslogtreecommitdiff
path: root/beta_accents/app/include/ludo/redir.inc.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
commit9738017972a6d4fea655926525b3c67dd85740cf (patch)
tree938d6f26c138d7c176c821bafc513362186a8ca7 /beta_accents/app/include/ludo/redir.inc.php
parent5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (diff)
download2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.gz
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.bz2
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.zip
Version beta_accents 2007-03-12+17:26:00 - 2007-03-14+17:35:14
Diffstat (limited to 'beta_accents/app/include/ludo/redir.inc.php')
-rw-r--r--beta_accents/app/include/ludo/redir.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/beta_accents/app/include/ludo/redir.inc.php b/beta_accents/app/include/ludo/redir.inc.php
index 6baf40d..2edec6e 100644
--- a/beta_accents/app/include/ludo/redir.inc.php
+++ b/beta_accents/app/include/ludo/redir.inc.php
@@ -9,8 +9,8 @@ generate_html_doctype_and_head("Redirection");
<h1>Redirection</h1>
<p>Si vous voyez cette page, merci de suivre le lien ci-dessous</p>
<?php
- // Ne respecte pas le XHTML s'il y a des paramètres les & doivent être remplacée par &amp;
- echo '<p><a href="' . $dest . '">' . $dest . '</a></p>' . "\n";
+ // Ne respecte pas le XHTML s'il y a des param&egrave;tres les & doivent &ecirc;tre remplac&eacute;e par &amp;
+ echo '<p><a href="' . urlencode($dest) . '">' . htmlentities($dest, ENT_QUOTES) . '</a></p>' . "\n";
?>
</body>
</html>