Tries to use captcha on my 5.3 drupal installation using hebrew ttf font. The image looks good, but enabling captcha on the login block (where i'de like it to be) causes this problem: no matter what i type in, i get an error msg saying what i typed was wrong, then no matter what i type in again - i get in!
I disabled the hebrew characters, using numbers only, and everything works fine.
Any idea?
Comments
Comment #1
soxofaan commentedCAPTCHA module 5.x-3.0-rc3 has indeed an issue with user login forms (see http://drupal.org/node/161584), which is fixed by http://drupal.org/cvs?commit=80392
This is strange, could you try to use the development snapshot (5.x-3.x-dev) and report what happens with that version?
Can you also try if the text CAPTCHA (with user defined Hebrew words) fails on Hebrew input?
Comment #2
asak commentedThe results:
using the dev release, text captcha works find (some styling and labeling problems but it works). the image captcha works backwards - letters are displayed correctly, but answer must be entered backwards, from left to right :)
Comment #3
robloachIt might be better to wait for Drupal 6.x to fix this as it comes with a lot of RtL fixes.
Comment #4
boaz_r commentedoldy bug, but for the record:
probably an RTL issue: as a Hebrew reader, you're reading the challenge box from right to left, but even if you've inputted the right characters, captcha renders them from left to right. try again, typing in the opposite direction and see it works.
this still applies for D6 but there, in the captcha settings page you can see an example and in that example its clearly showing the right answer for the randomly demonstrated image, where it can be seen the opposite direction.
One solution would be to tell captcha, probably ia some checkbox, that the challenge it read from right to left therefore the first letter inputted should be matched against the far right one on the image, not the left most, and so forth... .
Comment #5
soxofaan commentedat boaz_r: #472450: image_captcha RTL support contains a patch for this problem (for Drupal 6)
but before I'd commit it, I would like someone with RTL background to test it if it fixes the problem
I think this issue (although it is older) should also be marked as duplicate of #472450: image_captcha RTL support (which has a patch)