Based on my experience, I agree with Vincent's statement. In fact, it has been my
observation that even space chars are not a problem.
If this helps:
As part of experimenting bulk migration of documents from our MOSS site to XE and
following the documentation of WebDAV,
I did drag-n-drop of documents from MOSS document library folders into the appropriate
"attachments\SpaceName\_D_\DocName" XE folder and found that underscore and
spaces were preserved. Moreover, I could delete such attachments.
Thanks,
Milind
________________________________
From: Vincent Massol <vincent(a)massol.net>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Tue, April 6, 2010 10:03:50 AM
Subject: Re: [xwiki-devs] Simple patch to enable/preserve underscore chars in attachment
file names
Hi Milind,
On Apr 6, 2010, at 5:00 PM, Milind Kamble wrote:
Denis,
I understand your point that XE being used globally, needs to support more than Ascii
char set.
While the new reference model matures, could you clarify if underscore in a file name
would break the functionality under the current model where attachment name is used as a
reference for attachments? If not, would it be possible to eliminate the stripping of just
the underscore chars and push that fix in the next XE release -- I am OK with space chars
getting stripped off.
I don't think that underscores are a problem even with the old "reference as
string" code. Actually I don't even know why we're stripping them. Sergiu
might know more. Any idea Sergiu?
Thanks
-Vincent
________________________________
From: Denis Gervalle <dgl(a)softec.lu>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Tue, April 6, 2010 8:30:34 AM
Subject: Re: [xwiki-devs] Simple patch to enable/preserve underscore chars in attachment
file names
On Tue, Apr 6, 2010 at 14:02, Guillaume Lerouge <guillaume(a)xwiki.com> wrote:
Hi Milind,
On Tue, Apr 6, 2010 at 1:23 AM, Milind Kamble <mbkads(a)yahoo.com> wrote:
Hi. I would like the dev community to evaluate
this simple fix that will
enable uploading of files with underscore chars in the file name when
users
perform the attach action. Our user community is
quite impressed about
the
refreshing ease of use and the power, flexibility
in their collaboration
work flow made possible by XE. They would like to escape the tyranny of
Microsoft-MOSS as early as possible and the main roadblock to do so is
the
stripping of space and underscores from file
names which were created in
a
MS-Office centric environment.
I can't do much about your underscore problem (though I promise I'll poke
the developer sitting right next to me so that he looks at it).
I was already aware of this issue, and I have had similar problemqs with
attachment, not only with "_", but also with accentuated chars etc...
Restriction on attachment names will be easier to be changed when the new
model model using references will be fully in place, since attachment names
are currently used as reference for attachments. Be sure I will take care to
have it improve.
Denis
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs