Bug 1093855

Summary: Outdated API_SSL_SERVER, API_SERVER and VERIFY_SERVER on captcha.py
Product: [Fedora] Fedora EPEL Reporter: Andrea Veri <andrea.veri>
Component: python-recaptcha-clientAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el6CC: sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-recaptcha-client-1.0.6-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-08 22:02:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

API_SSL_SERVER, API_SERVER and VERIFY_SERVER

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.
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-0948/python-recaptcha-client-1.0.6-4.el6

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.