Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2013 at 20:29 UTC
Updated:
22 Jan 2013 at 15:40 UTC
preg_match(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1811 in /sites/all/modules/ctools/includes/cleanstring.inc on line 157
/ctools/includes/cleanstring.inc
lines 154-168
// In preparation for pattern matching,
// escape the separator if and only if it is not alphanumeric.
if (isset($settings['separator'])) {
if (preg_match('/^[^'. CTOOLS_PREG_CLASS_ALNUM .']+$/uD', $settings['separator'])) {
$seppattern = $settings['separator'];
}
else {
$seppattern = '\\'. $settings['separator'];
}
// Trim any leading or trailing separators (note the need to
$output = preg_replace("/^$seppattern+|$seppattern+$/", '', $output);
// Replace multiple separators with a single one
$output = preg_replace("/$seppattern+/", $settings['separator'], $output);
}
Comments
Comment #1
crutch commentedduplicate, see: http://drupal.org/node/1444006#comment-6876872
...in cleanstring.inc file
Comment #2
zombieautopsy commentedThanks Crutch, i was having the same problem after adding a backup server, and this fixed it.
Comment #3.0
(not verified) commentedupdated