problem in cookie if dn contains a space
Bug #325512 reported by
Sébastien CHAZALLET
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
repoze.who LDAP plugin |
Invalid
|
Undecided
|
Gustavo Narea |
Bug Description
Hello,
My dn contain a space : "uid=user,
An internal error occurs because cookie can not contain a space. (raised in Cookies.py)
In order to make repoze.
return dn > changed to > return 'uid=%s' % identity['login']
It works with return identity['login']
In my case, i'm sure that uid is unique, so i can return uid as well as dn.
I had not found any other solution to make cookies work with a dn containing a space.
To post a comment you must log in.
Bonjour, Sébastien.
This is a bug in repoze.who itself, whose report is at: bugs.repoze. org/issue60
http://
Cheers.