[Clipart] CChost: Imbedded images in SVG's

Jon Phillips jon at rejon.org
Fri Sep 8 18:38:51 PDT 2006


On Fri, 2006-09-08 at 15:16 +1000, ryan lerch wrote:
> At the moment, on cchost, someone can submit an svg file with an
> imbedded image in it, and it still gets through to the library.
> 
> see examples:
> http://openclipart.org/cchost/media/files/ryanlerch/112
> http://openclipart.org/cchost/media/files/nujunto/93
> 
> Also what would the best way of filerting these out?
> Would it be to scan the SVG for the <image\> tag and reject all SVG's
> that contain this?
> If this is the case, should rejecting SVG's with scripts be also done here?
> see bug:
> https://bugs.freedesktop.org/show_bug.cgi?id=3354
> 
> cheers,
> Ry

Hmm...I think its a good idea to reject SVG with the image tag...

I think though we need some file checking procedure in ccHost to do some
purification, more validation, etc. What do you think?

Michael Moore, didn't you make some scripts for this?

Jon

-- 
Jon Phillips

San Francisco, CA
USA PH 510.499.0894
jon at rejon.org
http://www.rejon.org

MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon at gristle.org
IRC: rejon at irc.freenode.net

Inkscape (http://inkscape.org)
Open Clip Art Library (www.openclipart.org)
Creative Commons (www.creativecommons.org)
San Francisco Art Institute (www.sfai.edu)




More information about the clipart mailing list