ugosan / yubico-yubiserve

Automatically exported from code.google.com/p/yubico-yubiserve
GNU General Public License v3.0
0 stars 0 forks source link

Exception when using API Key. Patch provided #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

In the last SVN version - revision 39.

What steps will reproduce the problem?
    1. Contact yubiserve.py with OTP and an ID
    2. No response from the server

I added a "try and except" in yubiserve.py between line 224 and 225 and the 
error is : "character mapping must return integer, None or unicode".
I modified the line 225 with str() and it works.

There is an error in the line 213 too. A "&" is missing before "sl="

You'll find in attachment the diff generated with svn.

Regards,

--
Gael Leonet

Original issue reported on code.google.com by gleo...@gmail.com on 15 Jun 2012 at 4:06

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed, thank you for your support! ;)

Original comment by b1ga...@gmail.com on 20 Jun 2012 at 4:37