[CompoundField][FileSystemStorage] compoundfield separators are unallowed characters in filename under windows

Encolpe DEGOUTE <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
Hi,
I'm searching a solution to use FSS with CompoundField under windows. When FSS
dump a field on the filesystem it's filename sounds like that:
  uidnumber_fieldname
or with CompoundField:
  uidnumber_fieldname|fieldname:widgetnumber

But '|' and ':' are unallowed characters in windows filenames.

It's easy to move from '|' to another with COMPOUND_FIELD_SEPERATOR in config.py
but there's nothing for ':'.

I propose to move COMPOUND_FIELD_SEPERATOR to '@@' in a Zope3 way and ':' to
'$'.

Regards,
--


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.