summaryrefslogtreecommitdiff
path: root/modules/exif
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-31 00:11:48 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-31 00:11:48 -0700
commit708f27f483d70660446ea2132b02cb7b39225f98 (patch)
treec1f6231ea024565be6c2a41ad092eea05b30d7fc /modules/exif
parentad81861c331f60ec8c19ea11e47e2826660fa142 (diff)
Run p::clean() on any variables that contain data entered by users.
Diffstat (limited to 'modules/exif')
-rw-r--r--modules/exif/views/exif_dialog.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/exif/views/exif_dialog.html.php b/modules/exif/views/exif_dialog.html.php
index d7985a30..6494b2b0 100644
--- a/modules/exif/views/exif_dialog.html.php
+++ b/modules/exif/views/exif_dialog.html.php
@@ -14,14 +14,14 @@
<?= $details[$i]["caption"] ?>
</td>
<td class="gOdd">
- <?= $details[$i]["value"] ?>
+ <?= p::clean($details[$i]["value"]) ?>
</td>
<? if (!empty($details[++$i])): ?>
<td class="gEven">
<?= $details[$i]["caption"] ?>
</td>
<td class="gOdd">
- <?= $details[$i]["value"] ?>
+ <?= p::clean($details[$i]["value"]) ?>
</td>
<? else: ?>
<td class="gEven"></td><td class="gOdd"></td>