Project

General

Profile

Bug #381

cgi authentication in prewikka cant work

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

Status:
Closed
Priority:
Normal
Start date:
06/18/2010
Due date:
% Done:

100%

Resolution:

Description

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/Core.py", line 324, in process
    user = self.checkAuth(request)
  File "/usr/lib/python2.5/site-packages/prewikka/Core.py", line 297, in checkAuth
    user = self._env.auth.getUser(request)
  File "/usr/lib/python2.5/site-packages/prewikka/modules/auth/cgi/cgi.py", 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 about 9 years ago

Fix exception with CGI authentication

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

History

#1 Updated by Maksym Tiurin about 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 about 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 about 9 years ago

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

#4 Updated by Francois POIROTTE over 7 years ago

  • Assignee changed from Yoann VANDOORSELAERE to Francois POIROTTE

Le probl

#5 Updated by Thomas ANDREJAK almost 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