Archiving rules: HTML special chars need to be escaped

Issue #943 resolved
Jay2k1 created an issue

Piler 1.3.4 build 994, fresh install.

I created an archiving rule with this in the subject field: Cron <root@.*>.* The admin web interface shows it as Cron .* though, presumably because the <> characters are not being escaped to &gt; and &lt; respectively, so the browser treats it as HTML tag.

This led to some confusion as to why certain cron emails were not being discarded despite the rule being there. This probably also applies to other areas, like for example retention rules.

I verified the rule is being stored correctly in the archiving_rule table in the database.

Comments (3)

  1. Log in to comment