|
|
|
Petr,
Thank you for a really good suggestion! Thanks again for your rapid and kind response.
The guy that posted the bug on the Japanese forums patched his moodle as you suggested. If it is only a question of making things a bit slower requiring the downloading of profile images each time, then I guess a configuration variable might still be nice. Alternatively perhaps one might give images a random URL like mixi http://img.mixi.jp/photo/member/29/73/502973_1362135142.jpg images so at least they cant be guessed - http://moodle.org/user/pix.php/1/f1.jpg http://moodle.org/user/pix.php/2/f1.jpg http://moodle.org/user/pix.php/3/f1.jpg http://moodle.org/user/pix.php/14/f1.jpg |
||||||||||||||||||||||||||||||||||||||||||||
IMHO people should not be putting their images into avatars if they do not want them "distributed" - this is usually handled by site policy or you can disable avatars completely - $CFG->disableuserimages = true.
If you want to patch your site, remove $nomoodlecookie = true;
and add require_login(); after require_once('../config.php');
I am proposing to close this as will not be fixed.