[Clipart] upload script suggestion

Jonadab the Unsightly One jonadab at bright.net
Mon Mar 21 06:46:47 PST 2005

"Stephen Silver" <ocalocal at btinternet.com> writes:

> The following two files in the incoming folder can't be fixed:
>   stupa_christopher_fynn_01.svg
>   endless-knot-border_chri_01.svg
> In both cases everything after the first <g> start tag appears
> to have been stripped out by the upload script - nothing at all
> remains of the image itself.


> I think it would be a good idea for the upload script to keep
> an unaltered copy of the uploaded SVG file.  

Or, perhaps, a log of all posted input?

> When something goes wrong, this copy would be useful for debugging.

If we only keep the file part, we could only debug the parts that
manipulate the file (mostly, the metadata-related parts); if we keep
all the input, we could debug other things too, I would think.

split//,"ten.thgirb\@badanoj$/ --";$\=$ ;-> ();print$/

More information about the clipart mailing list