Escape output to minimize potential XSS opportunities (#3916)
Credit to @nathan-van-der-werf.
This commit is contained in:
parent
7c919e01bc
commit
8ae863f5e7
|
|
@ -6,7 +6,7 @@
|
|||
<div class="modal-body">
|
||||
|
||||
<?php if ($this->fatalError): ?>
|
||||
<p class="flash-message static error"><?= $fatalError ?></p>
|
||||
<p class="flash-message static error"><?= e($fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
type="text"
|
||||
class="form-control"
|
||||
id="pluginCode"
|
||||
value="<?= post('code') ?>" />
|
||||
value="<?= e(post('code')) ?>" />
|
||||
<p class="help-block"><?= e(trans('system::lang.plugin.name.help')) ?></p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="modal-body">
|
||||
|
||||
<?php if ($this->fatalError): ?>
|
||||
<p class="flash-message static error"><?= $fatalError ?></p>
|
||||
<p class="flash-message static error"><?= e($fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="modal-body">
|
||||
|
||||
<?php if ($this->fatalError): ?>
|
||||
<p class="flash-message static error"><?= $fatalError ?></p>
|
||||
<p class="flash-message static error"><?= e($fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<div class="form-group">
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
type="text"
|
||||
class="form-control"
|
||||
id="themeCode"
|
||||
value="<?= post('code') ?>" />
|
||||
value="<?= e(post('code')) ?>" />
|
||||
<p class="help-block"><?= e(trans('system::lang.theme.name.help')) ?></p>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue