We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11dbbe5 commit c7aa4e9Copy full SHA for c7aa4e9
2 files changed
app/View/Containers/print_label.ctp
@@ -1,5 +1,5 @@
1
<div style="text-align: center">
2
- <h2><?php echo $container['Container']['name']; ?></h2>
+ <h2><?php echo Sanitize::html($container['Container']['name'], array('remove' => true)); ?></h2>
3
<?php echo $this->QR->image($Fullwebroot.'/containers/view/'.$container['Container']['slug']); ?>
4
</div>
5
app/View/Containers/view.ctp
@@ -12,7 +12,7 @@
12
", array('inline' => false));
13
echo $this->Html->script('views/containers/view', array('inline' => false));
14
?>
15
-<h2><?php echo $container['Container']['name']; ?></h2>
+<h2><?php echo Sanitize::html($container['Container']['name'], array('remove' => true)); ?></h2>
16
<p>
17
<?php
18
if(!empty($container['Location']['name'])) {
0 commit comments