[theme-reviewers] Upload Pronto.zip failed?

Simon Prosser pross at pross.org.uk
Sat Jul 24 16:36:42 UTC 2010


On Saturday 24 July 2010 09:31:13 Cedric Legras wrote:
> After uploading Pronto.zip, I got this message:
Ok i took a quick look at the file, here are the results:

pross at dhcppc1 ~/pronto $ grep -rn "<?[^p]" *
Binary file cjl/pronto/uploadify/uploadify.allglyphs.swf matches
Binary file cjl/pronto/uploadify/uploadify.swf matches
cjl/pronto/design.php:429:      fwrite($fp,"<?xml version=\"1.0\"?>\n");
Binary file images/pronto_box/Ponta-de-sao-lourenco.gif matches
Binary file styles/icons/social/default/flickr.png matches

We have seen this problem before, the uploader checks the files for "<?" and 
stops the upload if it sees it in any file, oyur package contains a few 
matches.

Im not sure if Joseph changed the script to ignore binary files such as images, 
im afraid you may have to edit your code some how perhaps something like:
$type = '?xml';
fwrite($fp,"<$type version=\"1.0\"?>\n");

hope this helps..
-- 
MyBlog : http://www.pross.org.uk/
Plugins : http://www.pross.org.uk/plugins/
Themes: http://wordpress.org/extend/themes/profile/pross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100724/9eca9c07/attachment.pgp>


More information about the theme-reviewers mailing list