You are here: start » » 2009 » 01 » Captchas fixed

Captchas fixed

Thanks to an incompatibility between the current PHP suhosin patch and the Dokuwiki captcha plugin, captchas were a bit too effective the last couple of days or weeks. The issue should now be fixed, so commenting should be possible for unregistered/not logged in users again. Thanks to Andi for the heads-up! :-)

The same issue btw also plagued the monsterid script and lead to very random monsters on each refresh. I implemented a fix for this as well, using parts of the hashed seed for calculating the monster part numbers instead of the PHP PRNG. While that approach isn't as random as the PRNG, it certainly should be sufficient for the generation of random user images and does work with suhosin hardened PHP setups.

Discussion

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.
 
blog/2009/01/captchas_fixed.txt · Last modified: 2009/01/11 14:15 by foosel