Bug #381

cgi authentication in prewikka cant work

Added by Maksym Tiurin over 9 years ago. Updated about 4 years ago.

Start date:
Due date:
% Done:




CGI authentication in prewikka cant work. If I turn it prewikka returning error in browser

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/prewikka/", line 324, in process
    user = self.checkAuth(request)
  File "/usr/lib/python2.5/site-packages/prewikka/", line 297, in checkAuth
    user = self._env.auth.getUser(request)
  File "/usr/lib/python2.5/site-packages/prewikka/modules/auth/cgi/", line 43, in getUser
    user = user.toUnicode(user)
AttributeError: 'str' object has no attribute 'toUnicode'

To fix this problem needed attached patch.

P.S. I am sorry for my bad English (it not my native language) but I hope
that you will understand me.

Associated revisions

Revision f7f8b2f5 (diff)
Added by Yoann Vandoorselaere over 9 years ago

Fix exception with CGI authentication

The toUnicode was not called correctly. Thanks Maksym Tiurin
<> for reporting this problem. Closes #381.


#1 Updated by Maksym Tiurin over 9 years ago

I'm sorry for duplicates but remine produce "access deny" error. And I thought that the record was not saved

#2 Updated by Yoann VANDOORSELAERE over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Yoann VANDOORSELAERE
  • Target version changed from 109 to 111

#3 Updated by Anonymous over 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

#4 Updated by Francois POIROTTE almost 8 years ago

  • Assignee changed from Yoann VANDOORSELAERE to Francois POIROTTE

Le probl

#5 Updated by Thomas ANDREJAK about 4 years ago

  • Status changed from Resolved to Closed
  • Target version changed from 111 to Prelude OSS 1.0.1

Also available in: Atom PDF