AllowApostrophesInNames

Proposal to make Apostrophes (and maybe even spaces) in names possible

I have reported this already in the Task Web here, but I believe this is a better place for it to be.

When Creating a topic like "We can't dance" the name will be "WeCanTDance". No spaces, no apostrophes. This scares away users who are familiar with Wikipedia, where this IS possible. (e.g. http://en.wikipedia.org/wiki/We_Can%27t_Dance) Any chance to get this solved?

One other thing bothering some of my users is the strict WikiWord rule, which does not allow them to choose a one-word username (JohnDoe is Okay, but John is not), and also does not let you create minor case names (okay, the latter is not so important unless you write in Klingon).

I believe that these are separate issues from a programmer's point of view, but for a user it's simply the question of making "nice" page names.

-- LieVen - 21 May 2015

I suspect that allowing Apostrophes will be a very difficult / dangerous change. As it is a string terminator, we filter them quite aggressively. Currently an un-encoded apostrophe in the URL results in its removal and truncation of the string at that point, so that it can't possibly slip through into the core and become an attack vector. Certainly it's not possible for Foswiki 1.2. It would require a very diligent code review and tests to be sure that it doesn't open any attack vectors.

-- GeorgeClark - 22 May 2015

 
Topic revision: r2 - 22 May 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy