hallo siegmund no, we don't ;-) and i forgot to mention the (global) definition of badchars='+"*%&/()=?!`'^$£§°[]{}' and you'll probably want to add the stuff i don't know how to write with my swiss-german keyboard ;-) i don't know if any of these characters are dangerous, just being paranoic. cheers gidon Siegmund Fuhringer wrote:
danke :)
maybe you should add a 'ß' to your list. or don't you have a 'ß' in .ch?
lg - siegmund
On Wed, May 15, 2002 at 12:10:52PM +0200, Gidon Friedman wrote:
hallo sigmund
i do this in the constructor: <dtml-let table="_.string.maketrans('. öüäïÖÜÄ','__ouaiOUA')" newid="_.string.translate(REQUEST['id'],table, badchars)"> ... createInObjectManager with newid ... ... set properties ... </dtml-let>
have fun
gidon
Siegmund Fuhringer wrote:
hi...
i'm unable to add a file with manage_addFile, when the filename contains an umlaut. i tried to url_quote the id but it didn't worked (or i'm to stupid :).
lg siegmund
_______________________________________________ Zope maillist - Zope@zope.org 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 )
-- _ __ (_)________ / /_ __ ______ ________ ____ _________ _ / / ___/ __ \/ __ \/ / / / __ \/ ___/ _ \ / __ \/ ___/ __ `/ / (__ ) /_/ / / / / /_/ / /_/ (__ ) __// /_/ / / / /_/ / /_/____/\____/_/ /_/\__, / .___/____/\___(_)____/_/ \__, / /____/_/ sifu@isohypse.org /____/
-- _______________________________________________________________________ network ag < emarketing is our focus > gidon friedman tel. +41 [0] 1 755 40 20 | fax +41 [0] 1 755 40 21 rütistrasse 17 | 8952 schlieren friedman@network-ag.com | http://www.network-ag.com | ICQ #8952603 BITTE BEACHTEN Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (sind) ausschliesslich die genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter Ausschluss jeder Reproduktion zu zerstören und die absendende Person umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe. _______________________________________________________________________