Hi,
I've been browsing through the connector source code to understand how things work. Once thing that I noticed is that there is some scope for simplification and performance improvement in the use of forward and back slashes in paths and URLs. As you know, URLs must always use forward slash (MS seems to allow backslash in IE but that's a departure from standard). Filenames, however, differ from operating system to operating system.
Not true. It's a well-kept secret, apparently, that the Posix standard makes filenames much simpler to handle. Posix-compliant operating systems are required to support forward slash as the path separator in addition to any other path separator they use. Of course Linux & Unix use forward slash; in this respect, they are Posix-compliant. Also, as it happens, Windows has also complied with this part of the Posix specification since the introduction of Windows 2000.
What this means is that you can always use forward slash as the path separator in PHP code running on any server system (except the old Windows 98 family).
Because Fckeditor has quite a bit of code handling conversion between forward-slash and back-slash path separators, there are quite a few places where simplification is possible. For example, in io.php the code
function GetParentFolder( $folderPath ) { $sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ; return preg_replace( $sPattern, '', $folderPath ) ; }