Problem/Motivation
An answer should not be rejected because of invisible whitespace; this can be very confusing and increase the chance that humans do not get the correct answer.
Probably separately, i think there also should be an option to strip punctuation. I can work on both of these if that is of interest.
Proposed resolution
Trim leading and trailing whitespace from the captcha response (the same as is done for captcha solutions!) before comparing to captcha solutions. Simply adding this at say line 93 of riddler.module:
$captcha_response = trim($captcha_response);
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork riddler-3591653
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mlncn commentedComment #4
mlncn commented