You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2009/11/14 17:18:39 UTC

[jira] Resolved: (HUPA-52) [patch] fixes dangerous-attributes removal regex

     [ https://issues.apache.org/jira/browse/HUPA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved HUPA-52.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.1

Comitted to trunk

> [patch] fixes dangerous-attributes removal regex
> ------------------------------------------------
>
>                 Key: HUPA-52
>                 URL: https://issues.apache.org/jira/browse/HUPA-52
>             Project: JAMES Hupa
>          Issue Type: Bug
>          Components: server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>             Fix For: 0.1
>
>         Attachments: regex_attrs.patch
>
>
> This patch:
> - Modifies the regular expression with removes javascript attributtes (onclick, onmouse.., etc) in order to avoid undesired javascript execution when an email is displayed, and makes it recursive.
> - Fixes a case in the mail addresses detection when it is part of a Url
> - Removes ugly debug code

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org