[wp-hackers] meenews: obfuscated code
Raphaël Droz
raphael.droz at gmail.com
Thu Nov 25 10:04:09 UTC 2010
On 25/11/2010 10:40, Mike Little wrote:
> I think Ralf (from the subject) and Ncolas (from the quote above) are trying
> to say the code looks obfuscated and is thus not compliant.
>
> However, I think that the author just got the line endings screwed.
> If you search and replace {four or more spaces} with<newline>+{those
> spaces}, the files look quite normal, not even vaguely obfuscated.
>
> Mike
>
You're right
sed "s/\([[:blank:]]\{4,\}\|\\x09\)/\n\1/ig" mee_newsletter.php
seems to output correct code.
In doubt I would say it was not voluntary.
(I will reply on the plugin google-group, but I guess a licence should
be present anyway)
sorry for the noise and thanks for the comments
Raphaël
More information about the wp-hackers
mailing list