You are here: Foswiki>Tasks Web>Item8397 (05 Jan 2015, MichaelDaum)Edit Attach

Item8397: Garbage in the text after adding a form to a topic

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: major
Applies To: Engine
Component: I18N
Branches:
Reported By: AlexMorozov
Waiting For:
Last Change By: MichaelDaum
Hi all,

We use Foswiki for our intranet site (ubuntu linux, ru_RU.UTF-8 locale, foswiki from repository). We have utf-8 in topics. All works fine, except one nasty thing. For example, I have a topic (screenshot 1, see attachment). When I try to add a form to it, some garbage appears in the text edit window (screenshot 2).

How can I fix it?

Here`s my LocalSite.cfg:
$Foswiki::cfg{DataDir} = '/var/lib/foswiki/data';
$Foswiki::cfg{Site}{Lang} = 'en';
$Foswiki::cfg{LocalesDir} = '/var/lib/foswiki/locale';
$Foswiki::cfg{ScriptUrlPath} = '/foswiki/bin';
$Foswiki::cfg{DefaultUrlHost} = 'http://team.zk-online.ru';
$Foswiki::cfg{PermittedRedirectHostUrls} = 'http://localhost;http://127.0.0.1';
$Foswiki::cfg{Site}{FullLang} = 'en-us';
$Foswiki::cfg{PubUrlPath} = '/foswiki/pub';
$Foswiki::cfg{PubDir} = '/var/lib/foswiki/pub';
$Foswiki::cfg{TemplateDir} = '/var/lib/foswiki/templates';
$Foswiki::cfg{Site}{CharSet} = 'utf-8';
$Foswiki::cfg{LoginManager} = 'Foswiki::LoginManager::ApacheLogin';
$Foswiki::cfg{Plugins}{WysiwygPlugin}{Enabled} = 0;
$Foswiki::cfg{RCS}{WorkAreaDir} = '/var/lib/foswiki/working/work_area';
$Foswiki::cfg{TempfileDir} = '/var/lib/foswiki/working/tmp';
$Foswiki::cfg{WorkingDir} = '/var/lib/foswiki/working';
$Foswiki::cfg{SafeEnvPath} = '/usr/bin:/bin';
$Foswiki::cfg{Register}{EnableNewUserRegistration} = 0;
$Foswiki::cfg{EnableEmail} = 0;
$Foswiki::cfg{Password} = 'XXXXXX';
$Foswiki::cfg{ScriptUrlPaths}{view} = '';

$Foswiki::cfg{LogDir} = '/var/log/foswiki';
$Foswiki::cfg{ConfigurationLogName} = '/var/log/foswiki/configurationlog.txt';
$Foswiki::cfg{DebugFileName} = '/var/log/foswiki/debug.txt';
$Foswiki::cfg{WarningFileName} = '/var/log/foswiki/warn%DATE%.txt';
$Foswiki::cfg{LogFileName} = '/var/log/foswiki/log%DATE%.txt';
$Foswiki::cfg{ScriptSuffix} = '';
$Foswiki::cfg{UseClientSessions} = 1;
$Foswiki::cfg{Sessions}{ExpireAfter} = 21600;
$Foswiki::cfg{Sessions}{ExpireCookiesAfter} = 0;
$Foswiki::cfg{Sessions}{IDsInURLs} = 0;
$Foswiki::cfg{Sessions}{UseIPMatching} = 0;
$Foswiki::cfg{Sessions}{MapIP2SID} = 0;
$Foswiki::cfg{Validation}{Method} = 'strikeone';
$Foswiki::cfg{Validation}{ValidForTime} = 3600;
$Foswiki::cfg{Validation}{MaxKeysPerSession} = 1000;
$Foswiki::cfg{Validation}{ExpireKeyOnUse} = 1;
$Foswiki::cfg{TemplateLogin}{PreventBrowserRememberingPassword} = 0;
$Foswiki::cfg{LoginNameFilterIn} = '^[^\\s\\*?~^\\$@%`"\'&;|<>\\x00-\\x1f]+$';
$Foswiki::cfg{DefaultUserLogin} = 'guest';
$Foswiki::cfg{DefaultUserWikiName} = 'WikiGuest';
$Foswiki::cfg{AdminUserLogin} = 'admin';
$Foswiki::cfg{AdminUserWikiName} = 'AdminUser';
$Foswiki::cfg{SuperAdminGroup} = 'AdminGroup';
$Foswiki::cfg{UsersTopicName} = 'WikiUsers';
$Foswiki::cfg{AuthScripts} = 'attach,edit,manage,rename,save,upload,viewauth,rdiffauth,rest';
$Foswiki::cfg{AuthRealm} = 'Enter your System.LoginName. (Typically First name and last name, no space, no dots, capitalized, e.g. !JohnSmith, unless you chose otherwise). Visit System.UserRegistration if you do not have one.';
$Foswiki::cfg{UserMappingManager} = 'Foswiki::Users::TopicUserMapping';
$Foswiki::cfg{Register}{HidePasswd} = 1;
$Foswiki::cfg{Register}{RegistrationAgentWikiName} = 'RegistrationAgent';
$Foswiki::cfg{PasswordManager} = 'Foswiki::Users::HtPasswdUser';
$Foswiki::cfg{MinPasswordLength} = 1;
$Foswiki::cfg{Htpasswd}{FileName} = '/var/lib/foswiki/data/.htpasswd';
$Foswiki::cfg{Htpasswd}{Encoding} = 'crypt';
$Foswiki::cfg{OS} = 'UNIX';
$Foswiki::cfg{DetailedOS} = 'linux';
$Foswiki::cfg{DenyDotDotInclude} = 1;
$Foswiki::cfg{AllowInlineScript} = 1;
$Foswiki::cfg{UploadFilter} = '^(\\.htaccess|.*\\.(?i)(?:php[0-9s]?(\\..*)?|[sp]htm[l]?(\\..*)?|pl|py|cgi))$';
$Foswiki::cfg{NameFilter} = '[\\s\\*?~^\\$@%`"\'&;|<>\\[\\]\\x00-\\x1f]';
$Foswiki::cfg{AccessibleENV} = '^(HTTP_\\w+|REMOTE_\\w+|SERVER_\\w+|REQUEST_\\w+|MOD_PERL|FOSWIKI_ACTION)$';
$Foswiki::cfg{AntiSpam}{EmailPadding} = '';
$Foswiki::cfg{AntiSpam}{HideUserDetails} = 1;
$Foswiki::cfg{AntiSpam}{RobotsAreWelcome} = 1;
$Foswiki::cfg{Log}{Implementation} = 'Foswiki::Logger::PlainFile';
$Foswiki::cfg{Log}{view} = 1;
$Foswiki::cfg{Log}{search} = 1;
$Foswiki::cfg{Log}{changes} = 1;
$Foswiki::cfg{Log}{rdiff} = 1;
$Foswiki::cfg{Log}{edit} = 1;
$Foswiki::cfg{Log}{save} = 1;
$Foswiki::cfg{Log}{upload} = 1;
$Foswiki::cfg{Log}{attach} = 1;
$Foswiki::cfg{Log}{rename} = 1;
$Foswiki::cfg{Log}{register} = 1;
$Foswiki::cfg{UserInterfaceInternationalisation} = 1;
$Foswiki::cfg{Languages}{bg}{Enabled} = 0;
$Foswiki::cfg{Languages}{de}{Enabled} = 0;
$Foswiki::cfg{Languages}{ja}{Enabled} = 0;
$Foswiki::cfg{Languages}{it}{Enabled} = 0;
$Foswiki::cfg{Languages}{pt}{Enabled} = 0;
$Foswiki::cfg{Languages}{fr}{Enabled} = 0;
$Foswiki::cfg{Languages}{cs}{Enabled} = 0;
$Foswiki::cfg{Languages}{da}{Enabled} = 0;
$Foswiki::cfg{Languages}{'zh-tw'}{Enabled} = 0;
$Foswiki::cfg{Languages}{nl}{Enabled} = 0;
$Foswiki::cfg{Languages}{'zh-cn'}{Enabled} = 0;
$Foswiki::cfg{Languages}{sv}{Enabled} = 0;
$Foswiki::cfg{Languages}{ru}{Enabled} = 1;
$Foswiki::cfg{Languages}{es}{Enabled} = 0;
$Foswiki::cfg{Languages}{pl}{Enabled} = 0;
$Foswiki::cfg{DisplayTimeValues} = 'gmtime';
$Foswiki::cfg{DefaultDateFormat} = '$day $month $year';
$Foswiki::cfg{UseLocale} = 1;
$Foswiki::cfg{Site}{Locale} = 'ru_RU.UTF8';
$Foswiki::cfg{Site}{LocaleRegexes} = 1;
$Foswiki::cfg{UpperNational} = '&#1040;-&#1071;';
$Foswiki::cfg{LowerNational} = '&#1072;-&#1103;';
$Foswiki::cfg{PluralToSingular} = 1;
$Foswiki::cfg{StoreImpl} = 'RcsWrap';
$Foswiki::cfg{RCS}{ExtOption} = '';
$Foswiki::cfg{RCS}{dirPermission} = 493;
$Foswiki::cfg{RCS}{filePermission} = 420;
$Foswiki::cfg{Store}{RememberChangesFor} = 2678400;
$Foswiki::cfg{RCS}{asciiFileSuffixes} = '\\.(txt|html|xml|pl)$';
$Foswiki::cfg{RCS}{initBinaryCmd} = '/usr/bin/rcs  -i -t-none -kb %FILENAME|F%';
$Foswiki::cfg{RCS}{initTextCmd} = '/usr/bin/rcs  -i -t-none -ko %FILENAME|F%';
$Foswiki::cfg{RCS}{tmpBinaryCmd} = '/usr/bin/rcs  -kb %FILENAME|F%';
$Foswiki::cfg{RCS}{ciCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -w%USERNAME|S% -u %FILENAME|F%';
$Foswiki::cfg{RCS}{ciDateCmd} = '/usr/bin/ci  -m%COMMENT|U% -t-none -d%DATE|D% -u -w%USERNAME|S% %FILENAME|F%';
$Foswiki::cfg{RCS}{coCmd} = '/usr/bin/co  -p%REVISION|N% -ko %FILENAME|F%';
$Foswiki::cfg{RCS}{histCmd} = '/usr/bin/rlog  -h %FILENAME|F%';
$Foswiki::cfg{RCS}{infoCmd} = '/usr/bin/rlog  -r%REVISION|N% %FILENAME|F%';
$Foswiki::cfg{RCS}{rlogDateCmd} = '/usr/bin/rlog  -d%DATE|D% %FILENAME|F%';
$Foswiki::cfg{RCS}{diffCmd} = '/usr/bin/rcsdiff  -q -w -B -r%REVISION1|N% -r%REVISION2|N% -ko --unified=%CONTEXT|N% %FILENAME|F%';
$Foswiki::cfg{RCS}{lockCmd} = '/usr/bin/rcs  -l %FILENAME|F%';
$Foswiki::cfg{RCS}{unlockCmd} = '/usr/bin/rcs  -u %FILENAME|F%';
$Foswiki::cfg{RCS}{breaklockCmd} = '/usr/bin/rcs  -u -M %FILENAME|F%';
$Foswiki::cfg{RCS}{delRevCmd} = '/usr/bin/rcs  -o%REVISION|N% %FILENAME|F%';
$Foswiki::cfg{RCS}{SearchAlgorithm} = 'Foswiki::Store::SearchAlgorithms::Forking';
$Foswiki::cfg{RCS}{QueryAlgorithm} = 'Foswiki::Store::QueryAlgorithms::BruteForce';
$Foswiki::cfg{RCS}{EgrepCmd} = '/bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$Foswiki::cfg{RCS}{FgrepCmd} = '/bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
$Foswiki::cfg{EnableHierarchicalWebs} = 1;
$Foswiki::cfg{SystemWebName} = 'System';
$Foswiki::cfg{TrashWebName} = 'Trash';
$Foswiki::cfg{UsersWebName} = 'Main';
$Foswiki::cfg{WebMasterEmail} = 'webmaster@localhost';
$Foswiki::cfg{WebMasterName} = 'Wiki Administrator';
$Foswiki::cfg{MailProgram} = '/usr/sbin/sendmail -t -oi -oeq';
$Foswiki::cfg{SMTP}{MAILHOST} = '';
$Foswiki::cfg{SMTP}{SENDERHOST} = '';
$Foswiki::cfg{SMTP}{Username} = '';
$Foswiki::cfg{SMTP}{Password} = '';
$Foswiki::cfg{RemoveImgInMailnotify} = 1;
$Foswiki::cfg{NotifyTopicName} = 'WebNotify';
$Foswiki::cfg{SMTP}{Debug} = 0;
$Foswiki::cfg{PROXY}{HOST} = '';
$Foswiki::cfg{PROXY}{PORT} = '';
$Foswiki::cfg{MailerContrib}{EmailFilterIn} = '';
$Foswiki::cfg{Stats}{TopViews} = 10;
$Foswiki::cfg{Stats}{TopContrib} = 10;
$Foswiki::cfg{Stats}{TopicName} = 'WebStatistics';
$Foswiki::cfg{TemplatePath} = '/var/lib/foswiki/templates/$web/$name.$skin.tmpl, /var/lib/foswiki/templates/$name.$skin.tmpl, $web.$skinSkin$nameTemplate, System.$skinSkin$nameTemplate, /var/lib/foswiki/templates/$web/$name.tmpl, /var/lib/foswiki/templates/$name.tmpl, $web.$nameTemplate, System.$nameTemplate';
$Foswiki::cfg{LinkProtocolPattern} = '(file|ftp|gopher|https|http|irc|mailto|news|nntp|telnet)';
$Foswiki::cfg{SiteWebTopicName} = '';
$Foswiki::cfg{SitePrefsTopicName} = 'DefaultPreferences';
$Foswiki::cfg{LocalSitePreferences} = 'Main.SitePreferences';
$Foswiki::cfg{HomeTopicName} = 'WebHome';
$Foswiki::cfg{WebPrefsTopicName} = 'WebPreferences';
$Foswiki::cfg{NumberOfRevisions} = 4;
$Foswiki::cfg{ReplaceIfEditedAgainWithin} = 3600;
$Foswiki::cfg{LeaseLength} = 3600;
$Foswiki::cfg{LeaseLengthLessForceful} = 3600;
$Foswiki::cfg{MimeTypesFileName} = '/var/lib/foswiki/data/mime.types';
$Foswiki::cfg{Operators}{Query} = [
          'Foswiki::Query::OP_and',
          'Foswiki::Query::OP_eq',
          'Foswiki::Query::OP_lc',
          'Foswiki::Query::OP_lte',
          'Foswiki::Query::OP_not',
          'Foswiki::Query::OP_ref',
          'Foswiki::Query::OP_d2n',
          'Foswiki::Query::OP_gte',
          'Foswiki::Query::OP_length',
          'Foswiki::Query::OP_lt',
          'Foswiki::Query::OP_ob',
          'Foswiki::Query::OP_uc',
          'Foswiki::Query::OP_dot',
          'Foswiki::Query::OP_gt',
          'Foswiki::Query::OP_like',
          'Foswiki::Query::OP_ne',
          'Foswiki::Query::OP_or',
          'Foswiki::Query::OP_where'
        ];
$Foswiki::cfg{Operators}{If} = [
          'Foswiki::If::OP_allows',
          'Foswiki::If::OP_defined',
          'Foswiki::If::OP_isempty',
          'Foswiki::If::OP_ingroup',
          'Foswiki::If::OP_isweb',
          'Foswiki::If::OP_context',
          'Foswiki::If::OP_dollar',
          'Foswiki::If::OP_istopic'
        ];
$Foswiki::cfg{Plugins}{CommentPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{CommentPlugin}{Module} = 'Foswiki::Plugins::CommentPlugin';
$Foswiki::cfg{Plugins}{EditTablePlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{EditTablePlugin}{Module} = 'Foswiki::Plugins::EditTablePlugin';
$Foswiki::cfg{Plugins}{EmptyPlugin}{Module} = 'Foswiki::Plugins::EmptyPlugin';
$Foswiki::cfg{Plugins}{InterwikiPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{InterwikiPlugin}{Module} = 'Foswiki::Plugins::InterwikiPlugin';
$Foswiki::cfg{Plugins}{PreferencesPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{PreferencesPlugin}{Module} = 'Foswiki::Plugins::PreferencesPlugin';
$Foswiki::cfg{Plugins}{RenderListPlugin}{Module} = 'Foswiki::Plugins::RenderListPlugin';
$Foswiki::cfg{Plugins}{SlideShowPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{SlideShowPlugin}{Module} = 'Foswiki::Plugins::SlideShowPlugin';
$Foswiki::cfg{Plugins}{SmiliesPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{SmiliesPlugin}{Module} = 'Foswiki::Plugins::SmiliesPlugin';
$Foswiki::cfg{Plugins}{SpreadSheetPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{SpreadSheetPlugin}{Module} = 'Foswiki::Plugins::SpreadSheetPlugin';
$Foswiki::cfg{Plugins}{TablePlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{TablePlugin}{Module} = 'Foswiki::Plugins::TablePlugin';
$Foswiki::cfg{Plugins}{TinyMCEPlugin}{Enabled} = 0;
$Foswiki::cfg{Plugins}{TinyMCEPlugin}{Module} = 'Foswiki::Plugins::TinyMCEPlugin';
$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{Enabled} = 0;
$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{Module} = 'Foswiki::Plugins::TWikiCompatibilityPlugin';
$Foswiki::cfg{Plugins}{TwistyPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{TwistyPlugin}{Module} = 'Foswiki::Plugins::TwistyPlugin';
$Foswiki::cfg{Plugins}{WysiwygPlugin}{Module} = 'Foswiki::Plugins::WysiwygPlugin';
$Foswiki::cfg{Plugins}{WebSearchPath} = 'System,TWiki';
$Foswiki::cfg{PluginsOrder} = 'TWikiCompatibilityPlugin,SpreadSheetPlugin,CommentPlugin,ActionTrackerPlugin';
$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/)';
$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{TWikiWebTopicNameConversion} = {
          'TWikiFAQ' => 'FrequentlyAskedQuestions',
          'TWikiGlossary' => 'GlossaryOfTerms',
          'TWikiCss' => 'CascadingStyleSheets',
          'TWikiLogos' => 'ProjectLogos',
          'TWikiRegistration' => 'UserRegistration',
          'TWikiReleaseNotes04x01' => '_remove_',
          'TWikiSkinBrowser' => 'SkinBrowser',
          'TWikiSkins' => 'Skins',
          'TWikiContributor' => 'ProjectContributor',
          'TWikiUserMappingContrib' => 'TopicUserMappingContrib',
          'TWikiReleaseNotes04x00' => '_remove_',
          'TWikiDownload' => 'DownloadSources',
          'TWikiUserAuthentication' => 'UserAuthentication',
          'TWikiMetaData' => 'MetaData',
          'TWikiPreferences' => 'DefaultPreferences',
          'TWikiScripts' => 'CommandAndCGIScripts',
          'TWikiSiteTools' => 'SiteTools',
          'TWikiReleaseNotes04x02' => 'ReleaseNotes01x00',
          'TWikiUpgradeGuide' => 'UpgradeGuide',
          'ATasteOfTWiki' => 'BeginnersStartHere',
          'TWikiContribs' => 'Contribs',
          'TWikiTutorial' => 'TwentyMinuteTutorial',
          'TWikiUsersGuide' => 'UsersGuide',
          'TWikiDocumentation' => 'CompleteDocumentation',
          'TWikiEditingShorthand' => 'EditingShorthand',
          'TWikiRegistrationAgent' => 'RegistrationAgent',
          'TWikiReferenceManual' => 'ReferenceManual',
          'TWikiEnhancementRequests' => 'EnhancementRequests',
          'TWikiSite' => '_remove_',
          'TWikiTopics' => 'TopicsAndWebs',
          'TWikiAccessControl' => 'AccessControl',
          'TWikiJavascripts' => 'JavascriptFiles',
          'TWikiSystemRequirements' => 'SystemRequirements',
          'TWikiForms' => 'DataForms',
          'TWikiFaqTemplate' => 'FaqTemplate',
          'TWikiTemplates' => 'TemplateTopics',
          'WhatDoesTWikiStandFor' => '_remove_',
          'TWikiRenderingShortcut' => 'RenderingShortcut',
          'TWikiVariables' => 'Macros',
          'TWikiVariablesQuickStart' => 'MacrosQuickStart',
          'TWikiPlannedFeatures' => '_remove_',
          'TWikiPlugins' => 'Plugins',
          'TWikiUsersTemplate' => 'UsersTemplate',
          'TWikiHistory' => 'ReleaseHistory',
          'TWikiShorthand' => 'ShortHand',
          'TWikiAddOns' => 'ContributedAddOns',
          'TWikiInstallationGuide' => 'InstallationGuide',
          'TWikiDocGraphics' => 'DocumentGraphics',
          'TWikiWebsTable' => 'WebsTable',
          'TWikiUserSetting' => 'UserSetting'
        };
$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{MainWebTopicNameConversion} = {
          'TWikiGuest' => 'WikiGuest',
          'TWikiPreferences' => 'SitePreferences',
          'TWikiRegistrationAgent' => 'RegistrationAgent',
          'TWikiUsers' => 'WikiUsers',
          'TWikiAdminUser' => 'AdminUser',
          'TWikiAdminGroup' => 'AdminGroup',
          'TWikiContributor' => 'ProjectContributor',
          'TWikiGroupTemplate' => 'GroupTemplate',
          'TWikiGroups' => 'WikiGroups'
        };
$Foswiki::cfg{Plugins}{TWikiCompatibilityPlugin}{WebSearchPath} = {
          'System' => 'TWiki',
          'TWiki' => 'System'
        };
$Foswiki::cfg{Plugins}{NewUserPlugin}{Module} = 'Foswiki::Plugins::NewUserPlugin';
$Foswiki::cfg{Ldap}{Host} = 'ldap.my.domain.com';
$Foswiki::cfg{Ldap}{Port} = 389;
$Foswiki::cfg{Ldap}{Version} = '3';
$Foswiki::cfg{Ldap}{Base} = 'dc=my,dc=domain,dc=com';
$Foswiki::cfg{Ldap}{BindDN} = '';
$Foswiki::cfg{Ldap}{BindPassword} = 'secret';
$Foswiki::cfg{Ldap}{UseSASL} = 0;
$Foswiki::cfg{Ldap}{SASLMechanism} = 'PLAIN CRAM-MD5 EXTERNAL ANONYMOUS';
$Foswiki::cfg{Ldap}{UseTLS} = 0;
$Foswiki::cfg{Ldap}{TLSSSLVersion} = 'tlsv1';
$Foswiki::cfg{Ldap}{TLSVerify} = 'require';
$Foswiki::cfg{Ldap}{TLSCAPath} = '';
$Foswiki::cfg{Ldap}{TLSCAFile} = '';
$Foswiki::cfg{Ldap}{TLSClientCert} = '';
$Foswiki::cfg{Ldap}{TLSClientKey} = '';
$Foswiki::cfg{Ldap}{Debug} = 0;
$Foswiki::cfg{Ldap}{UserBase} = 'ou=people,dc=my,dc=domain,dc=com';
$Foswiki::cfg{Ldap}{LoginFilter} = 'objectClass=posixAccount';
$Foswiki::cfg{Ldap}{UserScope} = 'sub';
$Foswiki::cfg{Ldap}{LoginAttribute} = 'uid';
$Foswiki::cfg{Ldap}{WikiNameAttribute} = 'cn';
$Foswiki::cfg{Ldap}{NormalizeWikiNames} = 1;
$Foswiki::cfg{Ldap}{NormalizeLoginNames} = 0;
$Foswiki::cfg{Ldap}{WikiNameAliases} = '';
$Foswiki::cfg{Ldap}{AllowChangePassword} = 0;
$Foswiki::cfg{Ldap}{SecondaryPasswordManager} = 'none';
$Foswiki::cfg{Ldap}{GroupBase} = 'ou=group,dc=my,dc=domain,dc=com';
$Foswiki::cfg{Ldap}{GroupFilter} = 'objectClass=posixGroup';
$Foswiki::cfg{Ldap}{GroupScope} = 'sub';
$Foswiki::cfg{Ldap}{GroupAttribute} = 'cn';
$Foswiki::cfg{Ldap}{PrimaryGroupAttribute} = 'gidNumber';
$Foswiki::cfg{Ldap}{MemberAttribute} = 'memberUid';
$Foswiki::cfg{Ldap}{InnerGroupAttribute} = 'memberUid';
$Foswiki::cfg{Ldap}{MemberIndirection} = 0;
$Foswiki::cfg{Ldap}{WikiGroupsBackoff} = 1;
$Foswiki::cfg{Ldap}{NormalizeGroupNames} = 0;
$Foswiki::cfg{Ldap}{MapGroups} = 1;
$Foswiki::cfg{Ldap}{RewriteGroups} = {};
$Foswiki::cfg{Ldap}{RewriteWikiNames} = {};
$Foswiki::cfg{Ldap}{MergeGroups} = 0;
$Foswiki::cfg{Ldap}{MaxCacheAge} = 86400;
$Foswiki::cfg{Ldap}{Precache} = 1;
$Foswiki::cfg{Ldap}{PageSize} = 500;
$Foswiki::cfg{Ldap}{Exclude} = 'WikiGuest, ProjectContributor, RegistrationAgent, UnknownUser, AdminGroup, NobodyGroup';
$Foswiki::cfg{Plugins}{ActionTrackerPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{ActionTrackerPlugin}{Module} = 'Foswiki::Plugins::ActionTrackerPlugin';
$Foswiki::cfg{Plugins}{ConvHighlightPlugin}{Enabled} = 0;
$Foswiki::cfg{Plugins}{ConvHighlightPlugin}{Module} = 'Foswiki::Plugins::ConvHighlightPlugin';
1;

Sorry for my English.

-- AlexMorozov - 20 Jan 2010

Developers note that this is non-wysiwyg editing. Nasty

Alex you write 1.0.7. Just in case - did you upgrade to 1.0.9 that we just released?

-- KennethLavrsen - 20 Jan 2010

Unfortunately, when I tried to edit WebPreferences topic via WYSIWYG, I`ve got an error, so I disabled that editor.

Oh, I`ll try to upgrade, thanks.

-- AlexMorozov - 20 Jan 2010

Upgraded to 1.0.9. The problem still exists.

-- AlexMorozov - 20 Jan 2010

Quick fix for this problem: in Foswiki::UI::ChangeForm::generate add the line: CGI::charset('');. Dirtiest hack I`ve ever used, but it works.

-- AlexMorozov - 21 Jan 2010

Closing due to lack of actions. Please reopen if you are committed to action upon this task.

-- MichaelDaum - 05 Jan 2015
 

ItemTemplate edit

Summary Garbage in the text after adding a form to a topic
ReportedBy AlexMorozov
Codebase 1.0.7
SVN Range
AppliesTo Engine
Component I18N
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic attachments
I Attachment Action Size Date Who Comment
scr1.PNGPNG scr1.PNG manage 61 K 20 Jan 2010 - 13:37 AlexMorozov before...
scr2.PNGPNG scr2.PNG manage 61 K 20 Jan 2010 - 13:38 AlexMorozov ...and after
Topic revision: r8 - 05 Jan 2015, MichaelDaum - This page was cached on 16 May 2020 - 09:27.

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