Skip to content

Commit

Permalink
Merge pull request from GHSA-gp6m-fq6h-cjcx
Browse files Browse the repository at this point in the history
  • Loading branch information
Judx authored Feb 27, 2024
1 parent 63293af commit 8d00914
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function _getDeleteCheckbox()
$html = '';
if ((string)$this->getValue()) {
$label = Mage::helper('adminhtml')->__('Delete File');
$html .= '<div>' . $this->getValue() . ' ';
$html .= '<div>'. Mage::helper('adminhtml')->escapeHtml($this->getValue()) . ' ';
$html .= '<input type="checkbox" name="' . parent::getName() . '[delete]" value="1" class="checkbox" id="' . $this->getHtmlId() . '_delete"' . ($this->getDisabled() ? ' disabled="disabled"' : '') . '/>';
$html .= '<label for="' . $this->getHtmlId() . '_delete"' . ($this->getDisabled() ? ' class="disabled"' : '') . '> ' . $label . '</label>';
$html .= '<input type="hidden" name="' . parent::getName() . '[value]" value="' . $this->getValue() . '" />';
Expand Down

0 comments on commit 8d00914

Please sign in to comment.