Reproduce
About The Code
It was not possible to properly load the XML response from the web server.
XML Parsing Error: junk after document element Location: http://localhost:8080/js/ckfinder/ckfin ... angCode=en Line Number 2, Column 1:Warning: htmlspecialchars() expects parameter 1 to be string, array given in E:\xampp\htdocs\app\webroot\js\ckfinder\core\connector\php\php5\Utils\XmlNode.php on line 174
^
Raw response from the server:
<?xml version="1.0" encoding="utf-8"?><br />
<b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b>E:\xampp\htdocs\app\webroot\js\ckfinder\core\connector\php\php5\Utils\XmlNode.php</b> on line <b>174</b><br />
<Connector resourceType="Images"><Error number="0" /><CurrentFolder path="/" url="/upload/images/" acl="255" /><Cookies><Cookie name="CAKEPHP" value="4c583a36500d6b970f0e8d9d087b0de6" /><Cookie name="sdcms" value="" /></Cookies></Connector>
About The Code
print_r($_COOKIE);
Array ( [CKFinder_Path] => Images:/:1 [CKFinder_Settings] => TNNDS [CAKEPHP] => 4c583a36500d6b970f0e8d9d087b0de6 [sdcms] => Array ( [User] => Array ( [locale] => Q2FrZQ==.rnAI ) ) )
foreach ($this->_attributes as $_name => $_value) {
if(is_array($_value)) continue;
$ret .= " " . $_name . '="' . $this->asUTF8(htmlspecialchars($_value)) . '"';
}

Re: BUG: When cookie has array, click upload failed
We will check this ASAP.
Re: BUG: When cookie has array, click upload failed
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+