Re: [Zope] Quoting

2000-10-10 Thread Dieter Maurer

Chris Withers writes:
 > Seb Bacon wrote:
 > > 
 > > >  Quote all characters not allowed in a
 > > > cookie
 > > 
 > > wouldn't  do the job?
 > 
 > Dunno... Dieter?
I reread the cookie spec:

in cookie values forbidden are: semi-colon, comma and white space

These are not the characters handled by "url_quote".

 > That reminds me, it's silly that there's not ,
 > so I patched my zope to provide it

You, usually, will not need an "url_unquote".
You use "url_quote" when you construct part of an URL.
This URL will already have been decoded when you get it back in Zope (i.e.
the unquote is done automatically for you).


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Quoting

2000-10-10 Thread Chris Withers

Seb Bacon wrote:
> 
> >  Quote all characters not allowed in a
> > cookie
> 
> wouldn't  do the job?

Dunno... Dieter?

> That reminds me, it's silly that there's not ,
> so I patched my zope to provide it.  I was wondering if there's a mechanism
> for getting this kind of simple tweak into the source tree?

Yup, the collecor:
http://classic.zope.org:8080/Collector/

Submit it as a 'Feature Request w/patch'

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Quoting

2000-10-10 Thread Seb Bacon

>  Quote all characters not allowed in a
> cookie

wouldn't  do the job?

That reminds me, it's silly that there's not ,
so I patched my zope to provide it.  I was wondering if there's a mechanism
for getting this kind of simple tweak into the source tree?

seb


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )