[theme-reviewers] Functions.php Worm

Otto otto at ottodestruct.com
Wed Oct 13 18:19:55 UTC 2010


On Wed, Oct 13, 2010 at 12:50 PM, Simon Prosser <pross at pross.org.uk> wrote:
> Very nice Otto, thx for sharing!
>
> I notice you are using the internal zip functions too, one thing i
> noticed so far, if a file contains ^M or excessive \r\n zip will skip
> over it and the file will not appear in the array, i didnt spot it for
> ages, im currently coding a wrapper to call 'dos2unix' on the files
> before anything gets checked.

That's only for my little testbed program. The actual upload checker
on wp.org does it differently. The code will be adapted to that, if
and when.

-Otto


More information about the theme-reviewers mailing list