https://bugzilla.wikimedia.org/show_bug.cgi?id=67044

Bawolff (Brian Wolff) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Can't upload SVG because a  |Scripted SVG checks
                   |filter is present on a      |blacklist all filter
                   |image                       |attributes, even if local
                   |                            |to current svg doc

--- Comment #12 from Bawolff (Brian Wolff) <[email protected]> ---
> 
> However the main intent of this block seems to be to prevent external
> filters, not filters from the same file.
> 
> CSteipp: Would it be ok to relax the filter restriction so it only
> blacklists external urls, but is ok for things like filter: url( #foo ); and
> filter: url( '#bar' ); ? This would be similar to how we handle style
> attributes.

Important note I should mention here, is that (based on my reading of the code)
we already disallow (externally linking) xlink:href attributes on <filter>
elements, so allowing filter="url( '#foo' )" attributes wouldn't be able to get
to an external document simply by referencing a <filter> element with
xlink:href attribute pointing to another document.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to