Skip to content

Commit

Permalink
filter.php: Escape the filter name on output. Fixes #2455
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoorenberghe committed Feb 9, 2019
1 parent b2a97ee commit 70e59ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/views/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<?php } ?>
<p class="Name">
<label for="filter[Name]"><?php echo translate('Name') ?></label>
<input type="text" id="filter[Name]" name="filter[Name]" value="<?php echo $filter->Name() ?>" oninput="updateButtons(this);"/>
<input type="text" id="filter[Name]" name="filter[Name]" value="<?php echo validHtmlStr($filter->Name()) ?>" oninput="updateButtons(this);"/>
</p>
<table id="fieldsTable" class="filterTable">
<tbody>
Expand Down

0 comments on commit 70e59ed

Please sign in to comment.