You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/07/29 16:53:04 UTC

[jira] [Comment Edited] (SLING-4584) Performance: XSSAPI.getValidHref should not be based on HTML filtering

    [ https://issues.apache.org/jira/browse/SLING-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646117#comment-14646117 ] 

Radu Cotescu edited comment on SLING-4584 at 7/29/15 2:52 PM:
--------------------------------------------------------------

Fixed in [r1685504|https://svn.apache.org/viewvc?view=revision&revision=1685504]. Corrected excessive API version increase in [r1693281|https://svn.apache.org/viewvc?view=revision&revision=1693281].


was (Author: radu.cotescu):
Fixed in [r1685504|https://svn.apache.org/viewvc?view=revision&revision=1685504].

> Performance: XSSAPI.getValidHref should not be based on HTML filtering
> ----------------------------------------------------------------------
>
>                 Key: SLING-4584
>                 URL: https://issues.apache.org/jira/browse/SLING-4584
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: XSS Protection API 1.0.2
>            Reporter: Joel Richard
>            Assignee: Radu Cotescu
>              Labels: perfomance, xss
>             Fix For: XSS Protection API 1.0.4
>
>         Attachments: 0001-SLING-4584-Performance-XSSAPI.getValidHref-should-no.patch
>
>
> Around 3% of the rendering time is spent in getValidHref because it uses AntiSamy (which is a HTML filter) to do the job. This is obviously a hack and adds a lot of unnecessary overhead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)