diff options
| author | 2013-11-08 23:42:50 +0100 | |
|---|---|---|
| committer | 2013-11-08 23:42:50 +0100 | |
| commit | ff37ae8d4996b3147d7469d36b5edce0ed84cd84 (patch) | |
| tree | 88134862c6386f81b7cc3fd1e176492e4404fb06 /app/layout/layout.phtml | |
| parent | 9d32d7fe1932504a042fd8b146cdf560be11350b (diff) | |
Encodage html pour certaines parties
ajout de htmlspecialchars(..., ENT_COMPAT, 'UTF-8');
+ autocomplete = off pour les champs http_user et http_pass
Diffstat (limited to 'app/layout/layout.phtml')
| -rw-r--r-- | app/layout/layout.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 3f427a501..0c09ee42a 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -6,7 +6,7 @@ <link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" /> <link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" /> <?php if (isset ($this->rss_url)) { ?> - <link rel="alternate" type="application/rss+xml" title="<?php echo View::title(); ?>" href="<?php echo Url::display ($this->rss_url); ?>" /> + <link rel="alternate" type="application/rss+xml" title="<?php echo htmlspecialchars(View::title(), ENT_COMPAT, 'UTF-8'); ?>" href="<?php echo Url::display ($this->rss_url); ?>" /> <?php } ?> <?php echo self::headTitle (); ?> <?php echo self::headStyle (); ?> |
