[Zope] Re: Error -> A TaintedString cannot be pickled

Jamie Heilman jamie@audible.transient.net
Wed, 16 Apr 2003 12:53:30 -0700


Josef Meile wrote:
> One possible solution could be to convert all the "<" symbols to "&lt;". But
> I was wondering if there is another way of dealing with this TaintedStrings
> (appart of disabling the check, off course).

Make sure the variable in question gets explicitly pulled from the
correct dictionary in the REQUEST object.  Personally I think
REQUEST.get is a hallmark of horrible design anyway.  Has anyone
written a HTTPRequest replacement that gets rid of "get magic"
entirely?  I'm sure it would break a billion things, but I'd be
interested in playing with it regardless.
 
-- 
Jamie Heilman                   http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
 to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile?
 I liked you better when you weren't saying squat kid."	-Buddy