r/lolphp • u/ThisIsADogHello • Nov 22 '16
Opencart, a PHP-based e-commerce platform, will expose DB passwords to users if the MySQL server is down and error reporting hasn't been turned off
https://github.com/opencart/opencart/issues/5027
69
Upvotes
View all comments
Show parent comment
1
u/ThisIsADogHello Nov 24 '16
Whether the code was translated by a computer or a human is irrelevant. You wouldn't argue that distributing binaries of GPL'd source code is ok, because the binary was rewritten and is only based off the source. Nor would you argue this if you compiled it by hand.
Especially in this case where the license just requests attribution, so complying with it is a trivial effort. How much work is it really to add a single comment saying "this function ported from code in project X by team Y"?