[Zope] Zope hanging after a ZServer exception (fixed)
Dennis Allison
allison at sumeru.stanford.EDU
Tue Nov 25 10:44:12 EST 2003
Please file a bug report on this.
On Tue, 25 Nov 2003, Jure Koren wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> It seems that a check wasn't exhaustive enough:
>
> I changed the line 324 of zoperoot/ZServer/HTTPServer.py
>
> It used to read:
> if p is not None and type(p) != types.StringType:
>
> And I changed it to:
> if p is not None and type(p) != types.StringType and \
> type(p) != types.UnicodeType:
>
> It was quite obvious from the exception that it only
> checked for strings, but not unicode strings. I guess
> this will change to StringTypes in the future, as zope
> moves to and beyond python 2.2.
>
> Of course, in the previous message, I frogot to say I'm
> using zope 2.6.2 release.
>
More information about the Zope
mailing list