Bug 1093855 - Outdated API_SSL_SERVER, API_SERVER and VERIFY_SERVER on captcha.py
Summary: Outdated API_SSL_SERVER, API_SERVER and VERIFY_SERVER on captcha.py
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-recaptcha-client
Version: el6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2014-05-02 20:42 UTC by Andrea Veri
Modified: 2014-05-08 22:02 UTC (History)
1 user (show)

Fixed In Version: python-recaptcha-client-1.0.6-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-05-08 22:02:50 UTC
Type: Bug

Attachments (Terms of Use)

Description Andrea Veri 2014-05-02 20:42:27 UTC
The captcha.py file has wrong references to the following variables:


These still points to the old and not-working-anymore URLs. (them being api.recaptcha.net)

The updated URLs should be:

API_SERVER: http://www.google.com/recaptcha/api
API_SSL_SERVER: https://www.google.com/recaptcha/api
VERIFY_SERVER: "https://www.google.com/recaptcha/api/verify"

Without doing the following updates the python-recaptcha-client package is unusable.

Comment 1 Andrea Veri 2014-05-03 12:48:35 UTC
As a side note the VERIFY_SERVER variable should also cope with:

url = "https://%s/verify" % VERIFY_SERVER,

on line 76, so that the above comment VERIFY_SERVER becomes:

VERIFY_SERVER = "www.google.com"

and url becomes:

url = "https://%s/recaptcha/api/verify" % VERIFY_SERVER,

Comment 2 Stephen Gallagher 2014-05-05 14:24:27 UTC
Can you test and give karma to https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0948 please?

It's ready for stable, but it's a sufficiently-large set of changes that I'd prefer to wait for karma.

Comment 3 Andrea Veri 2014-05-07 12:51:13 UTC
Tested and karma given. Feel free to close this bug as well when the package reached stable.

Comment 4 Fedora Update System 2014-05-07 12:56:59 UTC
python-recaptcha-client-1.0.6-4.el6 has been submitted as an update for Fedora EPEL 6.

Comment 5 Fedora Update System 2014-05-08 22:02:50 UTC
python-recaptcha-client-1.0.6-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.