Changeset 101

Show
Ignore:
Timestamp:
08/09/07 11:18:50
Author:
thejimmyg
Message:

Fixed #21 by applying ygingras's patch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AuthKit/branches/0.4/authkit/authenticate/cookie.py

    r100 r101  
    219219          t & 0xff) 
    220220    ts_chars = ''.join(map(chr, ts)) 
    221     return ip_chars + ts_chars 
     221    # @@@ Fixes #21 applied patch from ygingras but I'm not totally sure how 
     222    # this function works anyway 
     223    # was: return ip_chars + ts_chars 
     224    return unicode(ip_chars + ts_chars, "latin-1").encode("utf-7") 
    222225 
    223226#