Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
function(){E=!1;c({code:App.ERROR_TIMEOUT})}),this.ui.timeout),A=this.client.filesGetMetadata({path:"/"+e.path.substring(1),include_deleted:!1});A.then(mxUtils.bind(this,function(L){}));A["catch"](function(L){window.clearTimeout(D);E&&null!=L&&409==L.status&&(E=!1,c({message:mxResources.get("fileNotFound")}))});A=this.client.filesDownload(e);A.then(mxUtils.bind(this,function(L){window.clearTimeout(D);if(E){E=!1;try{var H=new FileReader;H.onload=mxUtils.bind(this,function(d){f(H.result,L)});k?H.readAsDataURL(L.fileBlob):