summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Lomax2012-01-26 14:38:15 (GMT)
committer Paul Lomax2012-01-26 14:38:15 (GMT)
commitcd2a424f039e9603cd59eacb7f51b7e74509687a (patch)
tree54681ff58949c8383a340fb7b13ea40d3d1e7db7
parentee702a32b2325282c17405f1be9cfb77d19c8b0c (diff)
Fixed a possible XSS vulnerability6.x-2.76.x-2.x
-rw-r--r--fancy_slide.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/fancy_slide.module b/fancy_slide.module
index 6d5c7ae..c6bdf69 100644
--- a/fancy_slide.module
+++ b/fancy_slide.module
@@ -353,11 +353,11 @@ function fancy_slide_form() {
switch ($slideshow['type']) {
default:
case FANCY_SLIDE_TYPE_SINGLE:
- $form['nodeinfo'][$key] = array('#value' => t('Node:') . ' ' . $slideshow['node_title']);
+ $form['nodeinfo'][$key] = array('#value' => t('Node:') . ' ' . check_plain($slideshow['node_title']));
break;
case FANCY_SLIDE_TYPE_NODEQUEUE:
- $form['nodeinfo'][$key] = array('#value' => t('Nodequeue:') . ' ' . $slideshow['nodequeue_title']);
+ $form['nodeinfo'][$key] = array('#value' => t('Nodequeue:') . ' ' . check_plain($slideshow['nodequeue_title']));
break;
}
}