Changeset 1237

Show
Ignore:
Timestamp:
09/18/2008 06:31:48 AM (2 years ago)
Author:
DotMG
Message:

refs #816

applying htmlspecialchars_ent to GetConfigValue(meta_keywords) and GetConfigValue(meta_description). To be ported in trunk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.1.6.6/templates/header.php

    r1227 r1237  
    1919        <?php if ($this->GetMethod() != 'show' || $this->page["latest"] == 'N' || $this->page["tag"] == 'SandBox') echo "<meta name=\"robots\" content=\"noindex, nofollow, noarchive\" />\n"; ?> 
    2020        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
    21         <meta name="keywords" content="<?php echo $this->GetConfigValue("meta_keywords") ?>" /> 
    22         <meta name="description" content="<?php echo $this->GetConfigValue("meta_description") ?>" /> 
     21        <meta name="keywords" content="<?php echo $this->htmlspecialchars_ent($this->GetConfigValue("meta_keywords")) ?>" /> 
     22        <meta name="description" content="<?php echo $this->htmlspecialchars_ent($this->GetConfigValue("meta_description")) ?>" /> 
    2323        <link rel="stylesheet" type="text/css" href="css/<?php echo $this->GetConfigValue("stylesheet") ?>" /> 
    2424        <link rel="stylesheet" type="text/css" href="css/print.css" media="print" />