aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-19 22:11:58 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-19 22:11:58 +0100
commitdaefb8f095f1abe591347e99fcb09ab53701d39d (patch)
treeb74f00ab3bea55a2468446ceeb2a1d7433fd46d2 /app
parent1c0e7a49528d1fb972a0fa0e9551d70dc5636442 (diff)
Caractères spéciaux feed->description
Feed->description est en HTML, il faut protéger les caractères spéciaux lors de certaines sorties.
Diffstat (limited to 'app')
-rw-r--r--app/views/configure/feed.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml
index 191e44b9b..4504b8d76 100644
--- a/app/views/configure/feed.phtml
+++ b/app/views/configure/feed.phtml
@@ -22,7 +22,7 @@
<div class="form-group">
<label class="group-name"><?php echo Minz_Translate::t ('feed_description'); ?></label>
<div class="group-controls">
- <textarea name="description" id="description"><?php echo $this->flux->description (); ?></textarea>
+ <textarea name="description" id="description"><?php echo htmlspecialchars($this->flux->description(), ENT_NOQUOTES, 'UTF-8'); ?></textarea>
</div>
</div>
<div class="form-group">