Hi I've found a bug in GenericUserFolder. Basically if you try and do any restriction by domain then it will fail every time. The problem is that on line 151 of GenericUserFolder.py, it tries to use addr_match and host_match, which I assume was meant o be the same as the one in the standard User.py. The fix is to copy or import the ones from the standard User.py and then all is well with the GUF. For the record, I copied these two lines: addr_match=regex.compile('[0-9\.\*]*').match #TS host_match=regex.compile('[-A-Za-z0-9\.\*]*').match #TS HTH Phil phil.harris@zope.co.uk
On Mon, 29 May 2000, Phil Harris wrote:
I've found a bug in GenericUserFolder.
Basically if you try and do any restriction by domain then it will fail every time.
Thanks for the heads up. I've uploaded a patched version to zope.org. -- Stuart Bishop Work: zen@cs.rmit.edu.au Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au Computer Science, RMIT University
participants (2)
-
Phil Harris -
Stuart 'Zen' Bishop