Skip Menu |

This queue is for tickets about the Dancer-Plugin-Captcha-SecurityImage CPAN distribution.

Report information
The Basics
Id: 95099
Status: new
Priority: 0/
Queue: Dancer-Plugin-Captcha-SecurityImage

People
Owner: Nobody in particular
Requestors: stoneguard2000-it [...] yahoo.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: undef of captcha string session fails
Date: Sun, 27 Apr 2014 18:47:46 +0100 (BST)
To: bug-Dancer-Plugin-Captcha-SecurityImage [...] rt.cpan.org
From: stone guard <stoneguard2000-it [...] yahoo.de>
Hello Alessandro, I like your captcha module, easy to use, but clearing the captcha (clear_captcha) does not work. I am surely not a perl guru, but what i believe to have found is: if calling clear_captcha, in sub _captcha_data, $val will be undef and the condition 'if ($val) { ..}' will never be true ==> the value of the session key captcha will never be undef ! At least that's what i found out using YAML. My poor man's workaround is (since i only use 'default'): replacing the line: _captcha_data($captcha_id, 'string' => undef); with: session 'captcha' => undef; in clear_captcha. Hope this helps. Kindly regards, Ced LEGAL DISCLAIMER. The contents of this e-mail and any attachments are strictly confidential and they may not be used or disclosed by someone who is not a named recipient. If you have received this email in error please notify the sender by replying to this email inserting the word "misdirected" as the message and delete this e-mail from your system.