This question about Not sure...: Asked

How to disable name mageling on create new topic

If I try to create a new topic using WebCreateNewTopic my topic name is mangled in an unwanted way.

For example HostForm becomes HoTForm.

How can I disable this behavior?

-- VolkerVosskaemper - 13 Jan 2014

That should not happen and sounds like a bug.

Please provide more information: e.g. versions of Foswiki, perl and OS.

I'm sure that configure details (i.e. LocalSite.cfg) will be relevant only I'm not sure which? Possibly {Site}{CharSet} might explain this but I feel I'm clutching at straws.

However, please provide this initial feedback, thanks.

-- JulianLevens - 13 Jan 2014

Unfortunately no solution was posted, but you are not the first person to have issues with this:,Fri&sel=74#l70

There is a filter regex that might also influence this. If there is something wrong with this filter, it will mangle names:
# Filter-out regex for webnames, topic names, file attachment names, usernames,
# include paths and skin names. This is a filter <b>out</b>, so if any of the
# characters matched by this expression are seen in names, they will be
# removed.
$Foswiki::cfg{NameFilter} = qr/[\s\*?~^\$@%`"'&;|<>\[\]#\x00-\x1f]/;

-- GeorgeClark - 14 Jan 2014

Thank you for the tip. describes the correct setting which does not remove the letter "s" from WikiWords:

$Foswiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'\x26;|\x3c>\\[\\]#\\x00-\\x1f]';

-- VolkerVosskaemper - 14 Jan 2014

QuestionForm edit

Subject Not sure...
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r4 - 14 Jan 2014, VolkerVosskaemper - This page was cached on 10 Jan 2018 - 11:51.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License