I have resolved!
Here is the diff between new and old files, but how to upload the patched files?
/proto/SxM_webui/cpsync/index.php
// line 409
// new
docRef.write (’’);
// old
docRef.write (’’);
/proto/SxM_webui/cpsync/scanshr.php
// line 58
// new
return “<li class=“directory collapsed”><a href=”#" rel="" . htmlspecialchars($postDIR . $file) . “/” relparent="" . htmlspecialchars($postDIR) . “”>" . htmlspecialchars($file) . “”;
// old
return “<li class=“directory collapsed”><a href=”#" rel="" . htmlentities($postDIR . $file) . “/” relparent="" . htmlentities($postDIR) . “”>" . htmlentities($file) . “”;
/proto/SxM_webui/cpsync/js/filetree.js
// line 73
// new
showTree((this).parent(), (this).attr(‘rel’).match(/.*//), o.device.toLowerCase());
// old
showTree((this).parent(), escape((this).attr(‘rel’).match(/.*//)), o.device.toLowerCase());
// line 91
// new
showTree((this), o.root, o.device.toLowerCase());
// old
showTree((this), escape(o.root), o.device.toLowerCase());