Re: Disallow some characters in wiki page names

Reini Urban <[email protected]> Wed, 31 Mar 2010 17:39:38 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
Hello,

Marc-Etienne Vargenau schrieb:
> I would like to disallow some characters in wiki page names
> (commas that create many problems, e.g. for backlinks
> and page renaming, "<" and">").

This was already in my TODO.
,<> and should really be escaped,
, to easy pagelists, <> for consistency with the file backends.

> I tried in stdlib "function isValid" but it does not seem
> to work (called too late?).
>
> What is the best way to do this?

Hmm, I'll have to try this also.
Probably similar as the file backend does it.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev