Coder Social home page Coder Social logo

recaptcha's People

Watchers

 avatar

recaptcha's Issues

How to implement this on Classic ASP

What steps will reproduce the problem?
1. None
2.
3.

What is the expected output? What do you see instead?
None

What version of the product are you using? On what operating system?
Windows 2003

Please provide any additional information below.
Hi their,

I want to implement this on classic asp and before I start I wanted to know 
if you have any plug-ins or information on classic asp? Can I just place 
the javascript and be happy about it or will I need to do any extra codeing 
or modification to accomplish this in classic asp?

Thanks,
Wasay


Original issue reported on code.google.com by [email protected] on 12 Mar 2009 at 3:06

Java lib should allow null parameters

What steps will reproduce the problem?
1. Call reCaptcha.checkAnswer(getRequest().getRemoteAddr(), null, null);

What is the expected output? What do you see instead?
I would expect this to return a ReCaptchaResponse where .isValid() returns
false.  Instead, this throws a null pointer exception.  

What version of the product are you using?
recaptcha4j-0.0.7.jar


Please provide any additional information below.
The reason this should be handled is someone could modify the request so
that it doesn't provide these parameters.  In that case, it would be much
cleaner to consider the response as invalid than cause an error.

Original issue reported on code.google.com by [email protected] on 13 Apr 2008 at 10:42

Wordpress pluging (2.6) displays wrong on right-to-left layout

What steps will reproduce the problem?
1. Install reCAPTCHA for WP 2.6 on a right-to-left (Hebrew/Arabic/Urdu
etc.) blog, activate it, etc.
2. Try to add a comment
3. See the interface is garbled

This is a critical issue for RTL users because the plugin is unusable that way.

My solution:
Adding this line:
document.getElementById('recaptcha_widget_div').style.direction = 'ltr';
after line 54 of recaptcha.php.

A more generic solution would be to make that DIV, that is
script-generated, LTR by default. If I understand correctly, that would fix
all reCAPTCHA installations on all systems, since this script is generated
by api.recaptcha.net and not locally.

Attached is my modified code, but as I said, a generic solution is possible
(And recommended, IMHO).

I will attach screen captures if necessary.

Keep up the good work. :)

Original issue reported on code.google.com by [email protected] on 19 Nov 2007 at 4:01

Attachments:

Bug in reCAPTCHA Python library + patch

What steps will reproduce the problem?
1. Enter a character beyond ASCII range(128) using Python library
2. submit
3. see error

What is the expected output? What do you see instead?

I expect it to fail and set an error code that signals a byte with a value
greater than \x7f is not possible to encode.

What version of the product are you using? On what operating system?

Ubuntu Linux 7.10, Python 2.5 (this will happen everywhere I think)

I've added added a patch ran from the root of the working copy to fix this
error. Let me know if this is how things should be handled.



Original issue reported on code.google.com by [email protected] on 24 Dec 2007 at 7:28

Attachments:

_recaptcha_http_post fails when it hits a proxy

What steps will reproduce the problem?
1. Enable proxy mine is http://proxy:8083
2. Make the reCaptcha pages
3. Try to validate

What is the expected output? What do you see instead?
I get an error stating that "fsockopen() [<a
href='function.fsockopen'>function.fsockopen</a>]:
php_network_getaddresses: getaddrinfo failed: No such host is known."

What version of the product are you using? On what operating system?
reCaptcha: 1.9
php: 5.2.3 
Windows XP 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Sep 2007 at 10:08

Provision of site statistics

It would be nice if we could get some statistics under the "my account" 
section containing things such as the number of captcha challenges, the 
percentage success rate etc

This issue has been discussed in google groups here:

http://groups.google.com/group/recaptcha/browse_thread/thread/
f7d0729d10fbc163/53332bb6b7fcbc75

http://groups.google.com/group/recaptcha/browse_thread/thread/
1ec1d98c061e2695/998b0f4432c56e4f?lnk=gst&q=stats#998b0f4432c56e4f

http://groups.google.com/group/recaptcha/browse_thread/thread/
fcbcb350aa554928/a183608b85d5c257?lnk=gst&q=stats#a183608b85d5c257

and reCaptcha support has mentioned that work on stats is in progress but 
there doesn't seem to be anything available yet.

Original issue reported on code.google.com by [email protected] on 15 Apr 2008 at 9:48

Player is not displaying in when vision impared is clicked and reCaptcha Text heard instaed of 8 numbers

What steps will reproduce the problem?
1. When vision impaired option is clicked.
2.
3.

What is the expected output? What do you see instead?
  Player to be displayed.The sound heard should be eight distorted numbers.
Before a month it was working fine like above said.
  Now I couldn't see the media player.Instead I see two  text
lines containing  'Play Sound again' and 'Download Sound as Mp3' are 
getting displayed.and the audio heard contains more than two or more
words and is also more distorted that we couldn't hear clearly. 
Also when we tried  to hear the audio in the reCaptcha
demo given in the recaptcha link , http://recaptcha.net/learnmore.html. 
the same problem arose to us. 

What version of the product are you using? On what operating system?
    To customize the behavior of the reCaptcha widget, we're using
Javascript in the client side and Java in the server side. 
Opering system - Microsoft Windows Xp.
Web browser - Internet Explorer -6.0.
Windows Media player -11.
Adobe ActiveX  installed.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 Mar 2009 at 12:16

reCaptcha r110 Issues

What steps will reproduce the problem?
1. Calling [control].Validate() prior to a Page.IsValid test generates an
exception.

What do you see?
Duplicate call to Validate() method. reCAPTCHA have been validated. Use
IsValid property to retrieve the validation result.

What version of the product are you using? On what operating system?
r110. Windows 2003 Server

---

What steps will reproduce the problem?
2. The sample files do not return valid status - ever.

What do you expect to see? What do you see instead?
Every call to the reCaptcha .Net control (r110) by pressing the Submit key
results in a Page.IsValid value of false. I expect to see this result only
when the values entered are incorrect. 

What version of the product are you using? On what operating system?
r110. Windows 2003 Server

Please provide any additional information below.

1. The copyright information should be updated to 2007-2009.  This should
be addressed in the source files as well.
2. The build number should be included in the assembly information.
3. Each source file should have build information at the top of the file to
summarize not only the changes, if any, but to identify the build.



Original issue reported on code.google.com by [email protected] on 1 May 2009 at 6:04

Attachments:

Incorrect NullArgumentException in ASP.NET when Validation occurs and not all Post data has been transmitted

What steps will reproduce the problem?
1. Create a form that includes a file upload and below it is the .NET
Recaptcha control
2. Submit with a large file and during processing, resubmit the form.
3. Not all post data will be submitted resulting in an exception.

----

What is the expected output? What do you see instead?

The expected output is an Invalid response.  The current version generates
a NullArguementException in the RecaptchaValidator's Validate method
because "Challenge" is null. 

The exactly exception generated is:

Message: Value cannot be null. Parameter name: Challenge
Source: Recaptcha
Target Site: Recaptcha.RecaptchaResponse Validate()
Trace:

   at Recaptcha.RecaptchaValidator.Validate()
   at Recaptcha.RecaptchaControl.Validate()
   at System.Web.UI.Page.Validate()
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

----

What version of the product are you using? On what operating system?

ASP.NET Sept 2007 version.  Windows Server.


---

Please provide any additional information below.

Below is a patch to resolve the issue. It removes the CheckIsNull method
from the RecaptchaValidator and replaces the Null checking by using the
String.IsNullOrEmpty method. If any of the parameters are Null or Empty, it
marks the response as Invalid.

Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 4:56

Attachments:

Internet Explorer cannot open - Operation aborted

What steps will reproduce the problem?
1. Internet Explorer 6.0.2900.5512
2. Windows XP Pro SP3
3. reCAPTCHA PHP version

FireFox works great.
in IE, it says - 
"Internet Explorer cannot open the Internet site: "URL" // Operation aborted"

Please help me to solve this stupid ie problem.


Original issue reported on code.google.com by [email protected] on 10 Mar 2009 at 5:34

W3C Validation

What steps will reproduce the problem?
1. Use the control on an ASP.NET 2.0 Web page
2. Validate the generated HTML on http://validator.w3.org

What is the expected output? What do you see instead?
* Valid XHTML

What version of the product are you using? On what operating system?
* r112 of RecaptchaControl.cs

Please provide any additional information below.
* Replacing the lines 172 and 173 with "writer.WriteBreak ();" makes the 
HTML output XHTML conformant

Original issue reported on code.google.com by [email protected] on 20 May 2009 at 5:49

  • Merged into: #39

Joomla JomComment recaptcha plugin RecaptchaOptions var script problem?

1. In recaptcha.php when i use the <script> tags that php file brokes.
2. I want to change the lang to "tr"
3. Can't i do it from recaptcha.php coz there aren't any files for
recaptcha other then recaptcha.php in this component.


Original issue reported on code.google.com by psyrock on 29 Jan 2009 at 1:06

osCommerce module

Hi, 
I'd like to see if someone is interested in helping with a recaptcha module
for oscommerce.  I'm working on the contact form and will post that code
here once completed and working.  If someone wants to work on the customer
registration form, that would be great.  I also have a mod installed where
the customer can checkout without registering (the Purchase without account
(PWA) module.  One could be added to it as well, for better security. 
Code can be posted here and at the contributions section of the oscommerce
site. 
Thanks!
Dan


Original issue reported on code.google.com by [email protected] on 26 Jul 2007 at 4:36

Type H: illegal hex digit L

I get the following errors:

warning: pack() [function.pack]: Type H: illegal hex digit L in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit r in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit I in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit g in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit y in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit R in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit O in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit L in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit M in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit G in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit H in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit l in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit - in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit V in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit i in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit M in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit S in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit P in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit G in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit t in
recaptchalib.php on line 237. 
warning: pack() [function.pack]: Type H: illegal hex digit L in
recaptchalib.php on line 237
-------------------


I saw other sites experiencing the same issue. What could be the problem?

Regards,
Ivan

Original issue reported on code.google.com by [email protected] on 15 Apr 2008 at 12:31

Patch to support making easy using recaptcha-wordpress simple from PHP

This is a simple patch for anyone who wants to use your code from SVN as in
a wordpress setup where one uses svn:externals to pull the latest code.
Right now this won't work because the php library is in an outside folder.

This patch checks to see if the lib is in the same directory so that anyone
with current preferred setup is not broken. It also checks the folder php
to see if recaptchalib.php is in that folder.

This allows for one to use svn externals to pull in the recaptcha-php
folder into /php

Please do apply as it will help the many folks who manage multiple
wordpress sites to do this.


Original issue reported on code.google.com by [email protected] on 8 Nov 2008 at 8:09

Attachments:

Proxy support missing in ASP.NET Recaptcha.RecaptchaValidator

What steps will reproduce the problem?
1. Call the RecaptchaValidator.Validate() method when behind a web proxy.

What is the expected output? What do you see instead?
I expect the API to support specifying an IWebProxy implementation. This
feature is missing.

What version of the product are you using? On what operating system?
ASP.NET 1.0.1.0

Please provide any additional information below.

Here's code to support this:

public class RecaptchaValidator {
    ...
    public IWebProxy Proxy { get; set; }
    ...

    public RecaptchaResponse Validate() {
        ...
        HttpWebRequest request =
(HttpWebRequest)WebRequest.Create(this.verifyUrl);
        request.Proxy = this.Proxy;
        ...
    }
}


Original issue reported on code.google.com by [email protected] on 1 Jun 2009 at 11:48

Recaptcha with dojo.xhrGet or a similar 'javascript' script

It,s about this.
If I go straight to http://xxx.local/tab4, the recaptcha is displayed.
If I go there by clicking a link it is not displayed.
It doesn't matter or I do it this;
=========================================================================
//tab4
function tab4(){dojo.xhrGet({url:"tab4/index",handleAs: "text",
        load:function(response, ioArgs){dojo.byId("subtab4").innerHTML =
response; return response;},
        error:function(response, ioArgs){console.error("HTTP status code:",
ioArgs.xhr.status); return response;}
    });
}
-------------------------------------------------------------------------
<div dojoType="dojo.io.script" onclick="tab4Tab">tab4</div><div
id="subtab"></div>
=========================================================================
or this way.
=========================================================================
//tab4
function tab4Tab(letter){SERVER1.GETrequest("/tab4/index",'letter='+
letter, contentTab)}
//displaying
function contentTab(){var data = SERVER1.Ontvangst();
if(data){document.getElementById('subtab').innerHTML = data;}}
-------------------------------------------------------------------------
<div onclick="javascript:tab4Tab('c')">tab4</div><div id="subtab"></div>
=========================================================================
It is just not displaying :(
 I've tried many things out to get it solved.
Basically I tried to use it with 'Zend/Service/Recaptcha.php' embedded in a
'Zend_Form' fashion and to have it displayed within a 'dijit contentpane'
but because didn't get it to work I tried to work it out the way mentioned
above.

Final conclusion:
 - It doesn't work the 'Dojo' way 'where from I thought first that it was
causing the problem. 
 - It doesn't work the pure 'javascript' way either.

Then,
Is there something that I'm doing wrong or is it just not possible this way?

Awaiting,
Aad Pouw









What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Feb 2009 at 10:36

Dual License PHP Library (GPL)

The Drupal reCAPTCHA module would like to include the reCAPTCHA PHP Library
in with its installation, but is only able to provide code that's licensed
under the GPL.

http://drupal.org/project/recaptcha

So, would it be possible to apply a dual license to the reCAPTCHA PHP code
so that it can be included in the Drupal CVS?  It would have to be dual
licensed under the GPL, as well as the already present BSD/MIT-like license
that's there already.

Thanks a lot,
Rob

Original issue reported on code.google.com by robloach on 26 Feb 2008 at 10:20

Translation when JavaScript is disabled

When JavaScript is disabled, have a way to get the instructions in other 
languagues than english.

Currently, when JavaScript is disabled, we are stuck with english.

Original issue reported on code.google.com by [email protected] on 28 Mar 2008 at 8:28

Wordpress plugin 2.7 - does not work with disabled javascript

When I disable all javascript in firefox with WebDeveloper, reCaptcha is
displayed but another textbox and button is displayed below.

When I correctly fill in captcha words, no comment is uploaded but instead
of reCaptcha there is text box with some HASH code or what.

Seems that with disabled javascript it does not work at all.


Original issue reported on code.google.com by [email protected] on 13 Jan 2008 at 8:42

incorrect input allowed

What steps will reproduce the problem?
1. Go to a page with recapcha on it.
2. Type in something that is close to the actual word but not exactly
correct (leave out one character from each word, for example)
3. Submit the form.

What is the expected output? What do you see instead?
I expect it to give me an error saying that what I typed in didn't match
the captcha. But instead it tells me it was right.

What version of the product are you using? On what operating system?
Tested on numerous websites being hosted by Pair on Linux servers.
Additionally, tested the demo located at
http://recaptcha.net/learnmore.html. Tests were done in FF3 and IE7 on a
Windows Vista computer.

Original issue reported on code.google.com by [email protected] on 25 Mar 2009 at 4:50

ASP.NET library does not support setting of the language.

What is the expected output? What do you see instead?

Expected to see a property in the ASP.NET API for setting the language but
there was none.


I have updated the reCaptcha .NET code to support setting the language
through the "Language" property. It should be set as en, de, es, fr, or
some others as defined in the reCaptcha JavaScript file.

Original issue reported on code.google.com by [email protected] on 3 Jul 2008 at 6:49

Attachments:

I'm having issues with php API

What steps will reproduce the problem?
1. test the mailhide php sample app.

What is the expected output? What do you see instead?
------------------------------------------------------
Mailhide output correctly but i'm having a lot of warnings with php pack
function invocation

What version of the product are you using? On what operating system?
---------------------------------------------------------------------
I'm on a share hosting with some control over php instance.  version is 5.0.51a

Please provide any additional information below.
--------------------------------------------------

My code:
========
<html><body>
<?
require_once ("recaptchalib.php");

// get a key at http://mailhide.recaptcha.net/apikey
$mailhide_pubkey = '6LdfIgMAAAAAAPDxAW-7Oprn-qcPPKPQe5mGUwP7';
$mailhide_privkey = '6LdfIgMAAAAAAMw-e-WHJCK2jJnj4MQuhUM70GSf'

?>

The Mailhide version of [email protected] is
<? echo recaptcha_mailhide_html ($mailhide_pubkey, $mailhide_privkey,
"[email protected]"); ?>. <br>

The url for the email is:
<? echo recaptcha_mailhide_url ($mailhide_pubkey, $mailhide_privkey,
"[email protected]"); ?> <br>

</body></html>

Original issue reported on code.google.com by [email protected] on 15 Sep 2008 at 11:51

Im having an issue with my recaptcha

What steps will reproduce the problem?
1. i am having an issue with my recaptcha in firefox. if i brows in ie its
working fine but when i brows in firefox and Safari. the recaptcha
alignments get messed up here is the link

http://www.metaaks.com/index.php?do=signup

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
recaptcha-php-1.10

Please provide any additional information below.
null

Original issue reported on code.google.com by [email protected] on 3 Feb 2009 at 6:26

recaptchalib.php: Could not open socket (Fix included)

What steps will reproduce the problem?
1.
2.
3.


What is the expected output? What do you see instead?

The expected action is for the fsockopen (line 80) to connect, and not
return false. It is currently returning false because it can't seem to
connect to domain names, only IP addresses, on my development server.
Obviously this is a problem I need to address as it does it for other
things I use fsockopen for. To be fair though the library should accomodate
for this, especially as I am not using an obscure setup, it's a typical one
if you follow any LAMP guide for Fedora 9 to be honest.

I see the error message: Could not open socket. It runs die to produce this
error message, so if for whatever reason the RECAPTCHA_VERIFY_SERVER dns
does not resolve, the end user doesn't have a clue what has gone wrong, all
the form data they have submitted is lost. It should fail gracefully, and
allow the form submission to continue without verifying the captcha input.


What version of the product are you using? On what operating system?

recaptchalib.php (v1.1.0) Currently the latest stable release.

Fedora 9 (32bit)
Apache 2.2.9/PHP 5.2.6 (installed using yum from official fedora repos)


Please provide any additional information below.

// To fix the problem, find line 40 in recpatchalib.php and replace:
define("RECAPTCHA_VERIFY_SERVER", "api-verify.recaptcha.net");

// With this:
define("RECAPTCHA_VERIFY_SERVER", gethostbyname('api-verify.recaptcha.net'));

Original issue reported on code.google.com by [email protected] on 28 Oct 2008 at 9:04

Strange problem with reCaptcha implementation

I have implemented reCaptcha in my site.
In Registration Page-
http://gigahertz.byethost18.com/index.php?
option=com_comprofiler&task=registers

and in Forgot Password page -
http://gigahertz.byethost18.com/index.php?
option=com_comprofiler&task=lostPassword

1st one is working FINE.

But, though same code, Forgot Password page is not working properly.

After much debug, I found that there is no value in 
'recaptcha_challenge_field' and 'recaptcha_response_field' after POST (that 
is after SUBMIT button is hit)

Please help me out..... can't find the solution for 3 months now.....

Original issue reported on code.google.com by [email protected] on 24 Jan 2009 at 5:24

HTML break tag breaks (X)HTML compliance

What steps will reproduce the problem?
1. Put the Recapctha control on an ASP.NET Web form
2. Witness the "<br>

        </br>" sequence in the source code generated
3. Understand this breaks (X)HTML compliance

What is the expected output? What do you see instead?

instead : <br/>

What version of the product are you using? On what operating system?

Recaptcha ASP.NET plugin

Please provide any additional information below.

I figured it out : 

In RecapcthaControl.cs at line 150 (or 151?) replace these two lines : 

output.RenderBeginTag(HtmlTextWriterTag.Br);
output.RenderEndTag();

with

output.WriteBreak();

Shorter, faster, more correct ;)

For further reference see http://msdn.microsoft.com/en-us/library/
system.web.ui.htmltextwriter.writebreak.aspx

Original issue reported on code.google.com by [email protected] on 10 Mar 2009 at 8:47

Would be helpful to nullify padding on ".recaptchatable img"

What steps will reproduce the problem?
1. Have a CSS declaration in your theme which has padding on all img elements
2. Load up a page with recaptcha

What is the expected output? What do you see instead?
– I expect to see a nicely formatted recaptcha box.
– Instead, because of the padding on the recaptcha img, I see a broken
recpatcha layout.

Please provide any additional information below.
– Simply add "padding: 0 !important;" to the ".recaptchatable img" CSS
declaration.

Original issue reported on code.google.com by [email protected] on 6 Oct 2007 at 9:14

Validation is done incorrectly

What steps will reproduce the problem?
1. Download the asp.net version (recaptcha-dotnet.zip)
2. Run the csharp version. as you are given a challenge. skip a few letters
while typing the response
3. e.g., if expected response is Bomba out : provide bmb ot

What is the expected output? What do you see instead?
failed validation. The validation is successful

What version of the product are you using? On what operating system?
Windows XP, VS2005. It is the latest version of recaptcha

Please provide any additional information below.
Would appreciate a quick response/solution. Thanks. The attached file shows
the challenge that was presented, the response entered by user and a debug
of code that shows that response was accepted as correct

Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 4:04

Attachments:

Inaccurate error message when Private key is wrong

What steps will reproduce the problem?
1. put a bad private key in
2. try to validate
3.

What is the expected output? What do you see instead?
expect to have an exception that mentions something about the private key
Instead it says "the verification words are incorrect"

What version of the product are you using? On what operating system?
dotnet version

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Jan 2009 at 7:19

Recaptcha code page (this page) not linked from recaptcha site or Wordpress extend profile

What steps will reproduce the problem?
1. think of a patch or request
2. try to find the bug tracker
3. post your patch/request to the mailing list and look stupid


It would be great if the wordpress plugin page at 

http://recaptcha.net/plugins/wordpress/ 

As well as the wordpress extend profile:

http://wordpress.org/extend/plugins/wp-recaptcha/

and the 'plugin homepage':

http://www.blaenkdenum.com/wp-recaptcha/

had prominent links to this code tracker so that people can easily find the
right place to submit bugs, patches and feature requests, I sent like 6
emails to the list today that I should have just submitted here as tickets!

Thanks!

Original issue reported on code.google.com by simianuprising on 15 Jul 2008 at 8:09

Wordpress plugin (2.7) messes up UTF8 text under Firefox when not solving CAPTCHA correctly

What steps will reproduce the problem?
1. Write a comment with UTF8 chars under Firefox
2. Submit without solving CAPTCHA
3. When the comment you wrote is re-inserted into the comment field, you
see question marks instead of UTF8 chars

What is the expected output? What do you see instead?

The expected output is the same text that was previously entered.

What version of the product are you using? On what operating system?

2.7, Firefox2 on WinXP (Client), Apache2.2 and PHP5 (Server).

The problem seems to stem from PHP urlencoding UTF8 strings differently
than JS decodes them. So I just tried to escape "dangerous" characters
without touching UTF8 characters.

I managed to solve the problem by replacing line 144 of recaptcha.php from
this:
var _recaptcha_wordpress_savedcomment =  '" .
rawurlencode(utf8_decode($comment->comment_content)) ."';

to this:
var _recaptcha_wordpress_savedcomment =  '" .
preg_replace('/([\<\>\/\(\)\+\;\'\"])/e', '\'%\'.dechex(ord(\'$1\'))',
$comment->comment_content) ."';

Credit should go to Keith Devens (
http://keithdevens.com/weblog/archive/2005/Nov/22/uriescape ) from whom I
got the idea. Tried it on IE6 and Ff2, seems to work...

Original issue reported on code.google.com by [email protected] on 2 Jan 2008 at 2:38

No instructions?

Can someone please tell me how to get CAPTCHA java script downloaded form 
google to work?
There are NO instructions included in the download !!
This is very urgent as I am getting hundreds of child porn sites sent to 
me hourly and I am truly sick of it.

Appreciated

Original issue reported on code.google.com by [email protected] on 19 Apr 2008 at 3:58

How to validate reCAPTCHA

I am new to use reCAPTCHA and I am using it in my website(localhost). Can 
some one help me to validate the reCAPTCHA. Its accepting what ever the 
end user enters. Please advice. 

Thanks in Advance!

Original issue reported on code.google.com by [email protected] on 9 Dec 2008 at 11:37

Attachments:

ASP.NET control is repoting an error immediately upon page load

What steps will reproduce the problem?
1. Add the control, a ValidationSummary and a Button to a page.
2. Browse the page.

What is the expected output? What do you see instead?
The ValidationSummary should display no errors until the button is 
clicked.  However, the ValidationSummary displays the control's error 
message immediately, before the user had ever attempted to enter the 
validation.

What version of the product are you using? On what operating system?
ASP.NET 3.5 on Vista SP1.

Please provide any additional information below.
To correct this problem, the "IsValid" property should not return "flase" 
until after the Validate() method is called.  Until then, it should only 
return "true."

I have attached a modified RecaptchaControl.cs with my proposed fix for 
this issue.

Original issue reported on code.google.com by [email protected] on 4 Apr 2008 at 12:39

Attachments:

ReCAPTCHA should support API CAPTCHAs

See trunk version of FancyCaptcha for an example. Basically, you should
override SimpleCaptcha::addCaptchaAPI() (assuming you subclass
SimpleCaptcha) and have it fill an array with information about the CAPTCHA
(URL to the audio file, MIME type, CAPTCHA ID).

Original issue reported on code.google.com by [email protected] on 3 Mar 2008 at 7:37

Why recaptcha doesn't work within a Dojox contentPane

I just discovered what is causing the problem.
The Dojo Dojox contentPane does execute javascript, yes but only this way;
<script></script>, without type="text/javascript". And there comes the
point, the js file of recaptcha is full of that like this '.javascript .imp
{font-weight: bold; color: red;}', to get this and all the other lines to
work in a Dojox contentPane it should be '.script .imp {font-weight: bold;
color: red;}'.

Then my request is, to provide a js file we can link to and that is
specially adjusted for use in a Dojox contentPane. Perhaps a file that's
built upon the Dojo Toolkit. 
That would be great!
Thanks,
Aad Pouw

Original issue reported on code.google.com by [email protected] on 22 Feb 2009 at 8:19

recaptcha doesnt work with .net 1.1 anyone has an idea

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Jan 2009 at 2:42

localhost subdomains not recognized

I'm developing three sites on my PC, and subdomains are a very effective
way of keeping things simple for the programmer. However, reCAPTCHA doesn't
recognize subdomains of localhost as with ordinary domains. Fortunately, my
sites are in subdirectories of the normal webroot and so I can test the
CAPTCHA that way. But this restriction is arbitrary and unnecessary, and I
think the subdomain code should be generalized to localhost.

By the way, thanks for the service.

Original issue reported on code.google.com by [email protected] on 4 Jun 2009 at 7:30

Mixed content warning on SSL login pages

What steps will reproduce the problem?
1. Admin Login over SSL connections
2.
3.

What is the expected output? What do you see instead?
No mixed content warning from browsers

What version of the product are you using? On what operating system?
Wordpress MU 2.7

Please provide any additional information below.
there is a hook for adding CSS file, except wp_content_url constant only
provide http protocol string.  When using SSL admin mode, login page will
have mixed content warning.

Original issue reported on code.google.com by [email protected] on 24 Apr 2009 at 4:46

wordpress module does not work with wordpress 2.1 and 2.2

What steps will reproduce the problem?
1. activate module
2. set up public and private keys
3. post a comment without typing anything in the captcha box

What is the expected output? What do you see instead?
It should block the comment but it does not. the comment will just show on
the site with along with an error message: WP Error:incorrect-captcha-sol

What version of the product are you using? On what operating system?
using recaptcha version 2.3 on wordpress 2.1.2 and wordpress 2.2.0




Original issue reported on code.google.com by [email protected] on 25 Jun 2007 at 10:58

Errors creating RecaptchaControl.cs

What steps will reproduce the problem?
1.

I copied and pasted the code from here: 
http://code.google.com/p/recaptcha/source/browse/trunk/recaptcha-
plugins/dotnet/library/RecaptchaControl.cs?r=111&spec=svn111 to a class in 
my .Net C# project.  

Can I use this code instead of using the DLL and referencing it in my 
project?  Not adding the reference to my project gives me this error: "The 
type or namespace name 'RecaptchaResponse' could not be found (are you 
missing a using directive or an assembly reference?)"

When I add the references to the Recaptcha DLL and build the solution I 
receive this error: "The type 'System.Web.UI.Design.ControlDesigner' is 
defined in an assembly that is not referenced."  

It says the error is here: "public class RecaptchaControl : WebControl, 
IValidator"

I have added a reference to System.Design in my project.  

Can someone help me with using the recaptcha control in my project?  I 
cannot seem to get passed the errors.  

Basically, I want to use the actual code and not the dll because I am using 
the ValidationSummary control in my page and that causes me to receive "The 
verification words are incorrect" on page load.  I would like to implement 
this fix: 
http://groups.google.com/group/recaptcha/browse_thread/thread/953ba28e053fb
44a

This is how I am referencing the recaptcha code on my webpage:

As a page directive:
<%@ Register Src="~/ClassFolder/RecaptchaControl.cs" TagPrefix="recaptcha" 
TagName="RecaptchaControl" %>

And this below as a control:
<recaptcha:RecaptchaControl ID="recaptcha" runat="server" PublicKey="***" 
PrivateKey="***" />


Original issue reported on code.google.com by [email protected] on 3 May 2009 at 7:52

html web forms - help please

Ok so support said that reCaptcha does not work in a MS front page form.
What forms does it work in then?
I have it working by default on VBulletin
but I have html web forms
surely there is a solution?



Original issue reported on code.google.com by [email protected] on 19 Apr 2008 at 4:25

Python: import recaptcha fails

What steps will reproduce the problem?

1. easy_install recaptcha_client
2. import recaptcha.client
3. Import fails.

Please provide any additional information below.

setup.py's packages list missing declaration for top-level "recaptcha"
package,  as a result recaptcha/__init__.py is not copied to lib/ directory
upon install, and "import recaptcha" fails.

BTW, this is the same issue as here:

http://groups.google.com/group/recaptcha/browse_thread/thread/880d2ba710979b31/9
22791a31555d8c1

Original issue reported on code.google.com by [email protected] on 17 Jan 2008 at 11:20

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.