Author: WP.Wuzur
Description:
Patch
If $wgCaptchaClass is set to MathCaptcha the captcha does not appear as the regex in line 45 of MathCaptcha.class.php matches almost the whole img-tag. This results in not showing the captcha. Using the regex /alt=".*?"/ with a non-greedy instead of /alt=".*"/ with a greedy operator would help which do not remove the scr-attribute.
Version: unspecified
Severity: major
Attached: