[dokuwiki] bug in spellchecker

  • From: Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 5 Jul 2005 19:21:59 +0200

Hi,
the spellchecker has another bug.

The function spaceslink() filter the parameters with stripslashes().
If the text contains a windows share this filter reduces the text length
and the replacement string has not the same length as the source text
so that the spellchecker corrupt the text.

Both stripslashes() calls must be removed because they may change the
strings given as parameters.

I give someone else the chance to prepare a patch this time, you have
my word ;-)

 Best Regards
   Matthias

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: