On Jun 25, 2008, at 1:39 PM, Paul Libbrecht wrote:
careful: suppressing them may get down to an
unreadable format.
I'm interested to know what you suggest wrt accented characters. It
has caused many problems in
i2geo.net and the reason seems to be an
incomplete treatment of URL encodings (still can't know where). I
still find it'd be great to allow the accented characters to be part
of URLs.
I am surprised that "." (dot) is proposed to be suppressed and don't
know the place in the syntax where it would be a problem.
Document names... Format is wiki:Space.Page
-Vincent
> Vincent Massol wrote:
>> I'd like to discuss about filtering document names when they are
>> created, i.e directly in the XWikiDocument.setFullName()/setName()/
>> setSpace()/setDatabase() methods.
>>
>> We could filter out (i.e. remove) the following characters:
>> * pipe: |
>> * greater than: >
>> * brackets: [ and ]
>> * apostrophe: '
>> * quote: "
>> * colon: :
>> * dot: .
>> * forward slash: /
>>
>> Any other?
>>
>> The reason for ., :, |, >, [ and ] is because these are reserved
>> characters in wiki link format.
>>
>> Another option is to allow some escaping for these chars when
>> writing
>> a wiki link.
>>
>> Last we need to think about documents in the DB and which already
>> have
>> these chars. Should we write a migrator to filter these chars too?
>> Probably.
>>
>> WDYT?
>
> +1 for remove these chars.
> This makes much problems and I think it doesn't worth effort for
> escaping chars in hundreds places. At least for now.
> Artem Melentyev