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:
F.push("nav=1"));k&&null!=this.currentPage&&null!=this.pages&&this.currentPage!=this.pages[0]&&F.push("page-id="+this.currentPage.getId());return F};EditorUi.prototype.createLink=function(d,f,k,u,z,B,F,K,N,H){N=this.createUrlParameters(d,f,k,u,z,B,N);d=this.getCurrentFile();f=!0;null!=F?k="#U"+encodeURIComponent(F):(d=this.getCurrentFile(),K||null==d||d.constructor!=window.DriveFile?k="#R"+encodeURIComponent(k?this.getFileData(!0,null,null,null,null,null,null,!0,null,!1):Graph.compress(mxUtils.getXml(this.editor.getGraphXml()))):
(k="#"+d.getHash(),f=!1));f&&null!=d&&null!=d.getTitle()&&d.getTitle()!=this.defaultFilename&&N.push("title="+encodeURIComponent(d.getTitle()));H&&1<k.length&&(N.push("open="+k.substring(1)),k="");return(u&&"1"!=urlParams.dev?EditorUi.lightboxHost:mxClient.IS_CHROMEAPP||EditorUi.isElectronApp||!/.*\.draw\.io$/.test(window.location.hostname)?EditorUi.drawHost:"https://"+window.location.host)+"/"+(0<N.length?"?"+N.join("&"):"")+k};EditorUi.prototype.createHtml=function(d,f,k,u,z,B,F,K,N,H,ka,ea){this.getBasenames();