[Zope] url_quote

Peter Bengtsson mail@peterbe.com
Wed, 22 Aug 2001 11:16:28 +0200


> Is it possible to add my own "url_quote_single" to the dtml-var tag,
> which i guess could be a url_quote wrapped in a string.replace?
>
> I'm using url_quote quite heavily (all the site data goes through
> it), so an efficient solution is hoped for...

It's possible!

Create a Hotfix/patch that adds it.
There are some howtos on zope.org on hotfixing.
Basically, you import DT_Var from DocumentTemplate and change what needs to
be changed.

To know what to do, simple look at url_quote and try to copy that.


peter