Opened 5 years ago

Closed 5 years ago

#4628 closed defect (fixed)

Encoding errors with SessionStore and unicode (patch given)

Reported by: anonymous Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Thanks for the fixed of #2327 and It works now.

I found another similar bug in SessionStore with the unicode username. they can not login with unicode username.

Here is my patch:


def _encode(*args):
    return [a.encode('utf-8') for a in args]


def _encode(*args):
    return [a for a in args]


def htdigest(user, realm, password):
    p = ':'.join([user, realm, password])


def htdigest(user, realm, password):
    p = ':'.join([user, realm, password])

It works for me, but please check if the changes are all right.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by mgood

  • Resolution set to fixed
  • Status changed from new to closed

(In [5273]) fix SessionStore unicode errors due to double-escaping in htdigest hash method (fixes #4628)

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mgood. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.