Skip to content

Commit

Permalink
Fixed issue #5, implied htmlspecialshars() when echoing
Browse files Browse the repository at this point in the history
  • Loading branch information
sitilge committed Jan 28, 2016
1 parent 84f0b39 commit d7dbb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Views/Admin/Plugins/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="modal-body image-container">
<?php foreach ($structure as $dir => $files) : ?>
<?php foreach ($files as $file) : ?>
<div class="size-image image col-md-1" style="background-image: url('<?php echo $file; ?>')" file="<?php echo $file; ?>" onclick="uploadImage($(this))"></div>
<div class="size-image image col-md-1" style="background-image: url('<?php echo $file; ?>')" file="<?php echo htmlentities($file, ENT_QUOTES); ?>" onclick="uploadImage($(this))"></div>
<?php endforeach; ?>
<?php endforeach; ?>
<div class="clearfix"></div>
Expand Down

0 comments on commit d7dbb27

Please sign in to comment.