[Zope] filename contains umlaut

Gidon Friedman gidon@zope.ch
Wed, 15 May 2002 14:58:42 +0200


hallo siegmund

no, we don't ;-)

and i forgot to mention the (global) definition of
badchars=3D'+"*%&/()=3D?!`'^$=A3=A7=B0[]{}'
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,=20
just being paranoic.

cheers

gidon

Siegmund Fuhringer wrote:
>=20
> danke :)
>=20
> maybe you should add a '=DF' to your list.
> or don't you have a '=DF' in .ch?
>=20
> lg - siegmund
>=20
> On Wed, May 15, 2002 at 12:10:52PM +0200, Gidon Friedman wrote:
> > hallo sigmund
> >
> > i do this in the constructor:
> > <dtml-let table=3D"_.string.maketrans('. =F6=FC=E4=EF=D6=DC=C4','__ou=
aiOUA')"
> >           newid=3D"_.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 con=
tains
> > > 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 )
> >
>=20
> --
>     _            __
>    (_)________  / /_  __  ______  ________   ____  _________ _
>   / / ___/ __ \/ __ \/ / / / __ \/ ___/ _ \ / __ \/ ___/ __ `/
>  / (__  ) /_/ / / / / /_/ / /_/ (__  )  __// /_/ / /  / /_/ /
> /_/____/\____/_/ /_/\__, / .___/____/\___(_)____/_/   \__, /
>                    /____/_/ sifu@isohypse.org        /____/

--=20
_______________________________________________________________________
network ag=20
< e=ADmarketing is our focus >

gidon friedman
tel. +41 [0] 1 755 40 20 | fax +41 [0] 1 755 40 21
r=FCtistrasse 17 | 8952 schlieren
friedman@network-ag.com | http://www.network-ag.com | ICQ #8952603

BITTE BEACHTEN=20
Diese Nachricht (wie auch allf=E4llige Anh=E4nge dazu) beinhaltet
m=F6glicherweise vertrauliche oder gesetzlich gesch=FCtzte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrt=FCmlicherweise erreicht hat, sind Sie h=F6flich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerst=F6ren und die absendende Person
umgehend zu benachrichtigen. Vielen Dank f=FCr Ihre Hilfe.
_______________________________________________________________________