if the page heading contains more than one whitespace in a row, after saving the page will not be found. This is caused by the latest change to rfc(), which reduces all consecutive whitespace to a single space (for cleaner URLs). I suggest to change cmsimple/adm.php line 458:
Code: Select all
array_splice($temp, -1, 1, uenc(preg_replace('/\s+/isu', ' ', trim(strip_tags($matches[1])))));
But even worse: in cmsimple/cms.php line 595 the UTF-8 non-breaking space is being partially replaced by a space (\xC2\xA0 -> \xC2\20) resulting in an invalid UTF-8 byte sequence. It seems that browsers do ignore the \xC2, but of course it's a bug (I've introduced it
![Embarrassed :oops:](./images/smilies/icon_redface.gif)
![Confused :?](./images/smilies/icon_e_confused.gif)
PHP and UTF-8
![Crying or Very Sad :cry:](./images/smilies/icon_cry.gif)
Christoph