Important bug in EnvoAvatar : filesize limit doesn't work
Important bug in EnvoAvatar : filesize limit doesn't work
Envoyé: 13.06.2005, 21:10
rang:
Site Admin
enregistré depuis:
décembre 2003
Status:
hors ligne
dernière visite:
21.07.08
Messages:
261
Nolan M. (UHEweb) repoted that Recently, while upgrading a site and re-installing envoAvatar, he noticed that the size and width/height functions in envoAvatar did not limit a users ability to upload an image - the upload stated them correctly, but the code failed to do the check and reject it if not.
He proposed the following changes wich did solve the problem.
In the modules/EnvoAvatar/index.php change :
to :
And a few lines after change :
to :
Thanks to him fo this fix.
And the wierd thing is that this problem was already reported, solved, but that I forgot to incorporate the fix in the files on Downloads !! Bad project managment