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:
A)}),null,null,function(v){f?e({value:[v]}):e(OneDriveFile.prototype.getIdOf(v))},mxUtils.bind(this,function(v){this.ui.showError(mxResources.get("error"),v)}),f,null,null,null,null,c)})};OneDriveClient.prototype.pickFolder=function(e,f){var c=mxUtils.bind(this,function(m){this.ui.showError(mxResources.get("error"),m&&m.message?m.message:m)}),k=mxUtils.bind(this,function(m){var u=this.inlinePicker?this.createInlinePicker(e,!0):mxUtils.bind(this,function(){OneDrive.save({clientId:this.clientId,action:"query",
openInNewWindow:!0,advanced:{endpointHint:mxClient.IS_IE11?null:this.endpointHint,redirectUri:this.pickerRedirectUri,queryParameters:"select=id,name,parentReference",accessToken:b,isConsumerAccount:!1},success:mxUtils.bind(this,function(v){e(v);mxClient.IS_IE11&&(b=v.accessToken)}),cancel:mxUtils.bind(this,function(){}),error:c})});m?u():this.ui.confirm(mxResources.get("useRootFolder"),mxUtils.bind(this,function(){e({value:[this.rootId]})}),u,mxResources.get("yes"),mxResources.get("noPickFolder")+
"...",!0);null==this.user&&this.updateUser(this.emptyFn,this.emptyFn,!0)});null==b||6E4>this.tokenExpiresOn-Date.now()?this.authenticate(mxUtils.bind(this,function(){k(this.inlinePicker&&f)}),c):k(f)};OneDriveClient.prototype.pickFile=function(e,f){e=null!=e?e:mxUtils.bind(this,function(m){this.ui.loadFile("W"+encodeURIComponent(m))});var c=mxUtils.bind(this,function(m){this.ui.showError(mxResources.get("error"),m&&m.message?m.message:m)}),k=this.inlinePicker?this.createInlinePicker(e,null,f):mxUtils.bind(this,