Re: [Zope] Quoting
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
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
> 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 )
[Zope] Quoting
Dieter Maurer wrote: > > Note, that probably Zope user names may contain characters not > allowed in Cookie values. I wonder how hard it would be to implement the following: Quote all characters not allowed in a cookie Quote all characters not allowed in a Zope 2.2 id (this one could be really handy ;-) 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 )