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:
ea||null==ea||"_blank"==ea?"0":"1");null!=ma&&(ea==App.MODE_DEVICE||"download"==ea||"_blank"==ea?ma.simulate(document,"_blank"):(ca=mxUtils.bind(this,function(Z){B=null!=B?B:"pdf"==f?"application/pdf":"image/"+f;if(null!=u)try{this.exportFile(u,ka,B,!0,ea,Z)}catch(S){this.handleError(S)}else this.spinner.spin(document.body,mxResources.get("saving"))&&ma.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=ma.getStatus()&&299>=ma.getStatus())try{this.exportFile(ma.getText(),ka,B,!0,ea,Z)}catch(S){this.handleError(S)}else this.handleError({message:mxResources.get("errorSavingFile")})}),