From 708f27f483d70660446ea2132b02cb7b39225f98 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sun, 31 May 2009 00:11:48 -0700
Subject: Run p::clean() on any variables that contain data entered by users.
---
modules/gallery/views/simple_uploader.html.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'modules/gallery/views/simple_uploader.html.php')
diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php
index b6725c31..abda6d26 100644
--- a/modules/gallery/views/simple_uploader.html.php
+++ b/modules/gallery/views/simple_uploader.html.php
@@ -5,7 +5,7 @@
@@ -25,9 +25,9 @@
foreach ($item->parents() as $parent): ?>
- - = $parent->title ?>
+ - = p::clean($parent->title) ?>
endforeach ?>
- - = $item->title ?>
+ - = p::clean($item->title) ?>
= t("Upload Queue") ?>
--
cgit v1.2.3