@warrensander I would not say it is a bug as Client might want to put '#' intentionally in their URL parameters. In case they don't, they can use similar script as below to truncate the trailing part: if(myParam){ myParam=myParam.indexOf('#')>0?myParam.substring(0,myParam.indexOf('#')):myPara...