Skip to content

Commit

Permalink
[jan] SECURITY: Fix XSS vulnerability in rule search (Andrey Zelenchu…
Browse files Browse the repository at this point in the history
…k <azelenchuk@plesk.com>).
  • Loading branch information
yunosh committed May 3, 2017
1 parent dfec3d9 commit 6854284
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
18 changes: 18 additions & 0 deletions ingo/docs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ v4.0.0-git
[mms] Rearrange the default order of filter rules.


-------
v3.2.14
-------

[jan] Never send autoreplies again when setting zero vacation days in Procmail
or Maildrop backends (Bug #14549).
[jan] Don't split sieve body tests on commas (Bug #14546).


-------
v3.2.13
-------

[jan] Convert vacation rules in preference backend from Ingo < 2.0.
[jan] Fix some edge cases with Sieve vacation rules with date limits (Bug
#14486).


-------
v3.2.12
-------
Expand Down
1 change: 1 addition & 0 deletions ingo/lib/Basic/Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ protected function _init()
$view->addHelper('Horde_Core_View_Helper_Label');
$view->addHelper('FormTag');
$view->addHelper('Tag');
$view->addHelper('Text');

$view->canapply = $factory->canPerform();
$view->deleteallowed = $delete_allowed;
Expand Down
15 changes: 14 additions & 1 deletion ingo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1746,13 +1746,26 @@
<stability>
<release>stable</release>
<api>stable</api></stability>
<date>2016-12-16</date>
<date>2017-03-20</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] Never send autoreplies again when setting zero vacation days in Procmail or Maildrop backends (Bug #14549).
* [jan] Don&apos;t split sieve body tests on commas (Bug #14546).
</notes>
</release>
<release>
<version>
<release>3.2.15</release>
<api>3.2.0</api></version>
<stability>
<release>stable</release>
<api>stable</api></stability>
<date>2017-03-20</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] SECURITY: Fix XSS vulnerability in rule search (Andrey Zelenchuk &lt;azelenchuk@plesk.com&gt;).
</notes>
</release>
<release>
<date>2016-11-09</date>
<version>
Expand Down
4 changes: 2 additions & 2 deletions ingo/templates/basic/filters/filters.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<div class="header">
<?php if ($this->mbox_search): ?>
<?php if ($this->mbox_search['exact']): ?>
<?php printf(_("Rules Matching Mailbox \"%s\""), $this->mbox_search['query']) ?>
<?php printf(_("Rules Matching Mailbox \"%s\""), $this->h($this->mbox_search['query'])) ?>
<?php else: ?>
<?php printf(_("Rules Containing Mailbox \"%s\""), $this->mbox_search['query']) ?>
<?php printf(_("Rules Containing Mailbox \"%s\""), $this->h($this->mbox_search['query'])) ?>
<?php endif; ?>
<?php else: ?>
<?php echo _("Filter Rules") ?>
Expand Down

0 comments on commit 6854284

Please sign in to comment.