On Thu, Jan 24, 2008 at 12:07:15PM +0100, Michele Beltrame wrote:
> Hi!
> 
> > He wanted to get $c->captcha_string from *outside* of the Catalyst app.
> > You don't have $c there.  Also, he never said he was using
> > Catalyst::Plugin::Captcha.
> 
> Well, if he's completely outside the App, then this is likely not possible at
> all (if the CAPTCHA is well crafted). Isn't "no-access-to-non-humans" the 
> whole
> point of the CAPTHA?

Outside the app class != outside the process.

In the case of Catalyst::Test you're normally in-process, which is why John's
solution works fine.

If you're outside, then either forcing the captcha to a particular string or
disabling it entirely are probably your only options - but that wasn't the
case here if you read carefully :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to