Skip to content
Permalink
Browse files Browse the repository at this point in the history
Escape file title - Fixes #1302
  • Loading branch information
daftspunk committed Jul 22, 2015
1 parent a22dd43 commit 8a4ac53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -24,7 +24,7 @@
</div>
<div class="info">
<h4 class="filename">
<span data-dz-name><?= $file->title ?: $file->file_name ?></span>
<span data-dz-name><?= e($file->title ?: $file->file_name) ?></span>
<a
href="javascript:;"
class="upload-remove-button"
Expand Down
Expand Up @@ -23,7 +23,7 @@
</div>
<div class="info">
<h4 class="filename">
<span data-dz-name><?= $singleFile->title ?: $singleFile->file_name ?></span>
<span data-dz-name><?= e($singleFile->title ?: $singleFile->file_name) ?></span>
</h4>
<p class="size"><?= e($singleFile->sizeToString()) ?></p>
</div>
Expand Down
Expand Up @@ -24,7 +24,7 @@
</div>
<div class="info">
<h4 class="filename">
<span data-dz-name><?= $file->title ?: $file->file_name ?></span>
<span data-dz-name><?= e($file->title ?: $file->file_name) ?></span>
<a
href="javascript:;"
class="upload-remove-button"
Expand Down
Expand Up @@ -28,7 +28,7 @@
</div>
<div class="info">
<h4 class="filename">
<span data-dz-name><?= $singleFile->title ?: $singleFile->file_name ?></span>
<span data-dz-name><?= e($singleFile->title ?: $singleFile->file_name) ?></span>
<a
href="javascript:;"
class="upload-remove-button"
Expand Down

0 comments on commit 8a4ac53

Please sign in to comment.