[Zope3-dev] quoting cookies

Steve Alexander steve@cat-box.net
Thu, 20 Feb 2003 19:04:03 +0200


> I got interested in this thread because I'm trying to define patterns 
> that separate configuration from software.  One pattern is that when a 
> spec leaves an important detail unresolved and enough people have 
> interpreted the spec differently, the implementation of that detail 
> should be configurable.

I agree that it should be configurable, but on a per-cookie basis not a 
per-site basis, with urlquoting as the default.

Tres proposes a per-site policy, given by a utility.


I think that different subsystems (e.g. authentication, shopping 
basket...) may need to integrate with different external systems. So, 
using the same utility for all of these will not work.

I think that if you install a special authentication system that knows 
how to work with a particular external system, then it should handle the 
particular quoting requirements to work with that external system.

--
Steve Alexander