Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit b901f5a

Browse files
author
Jamie Snape
committed
Escape variables in metadataextractor module
1 parent 380bbd6 commit b901f5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/metadataextractor/views/admin/index.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
=========================================================================*/
2020

2121
$this->declareVars('form', 'pageTitle');
22-
$this->headTitle(htmlspecialchars($this->pageTitle, ENT_QUOTES, 'UTF-8'));
22+
$this->headTitle($this->escape($this->pageTitle));
2323
?>
2424

2525
<div class="viewMain">
26-
<h1><?php echo htmlspecialchars($this->pageTitle, ENT_QUOTES, 'UTF-8'); ?></h1>
26+
<h1><?php echo $this->escape($this->pageTitle); ?></h1>
2727
<?php echo $this->form; ?>
2828
<p><a href="<?php echo $this->url(array('controller' => 'admin', 'action' => 'index'), 'default'); ?>#tabs-modules">&laquo; Back to Modules Administration</a></p>
2929
</div>

0 commit comments

Comments
 (0)