By having two completely separate installs of magento I’ve been able to locate the problem and fix it. It seems that when the RewriteBase is ‘/magento/’ in the primary .htaccess file, or when the rewrite base is not set, the magento (extjs?) JavaScript grid recognizes the abundance of “/” and replaces the problem. However, this is not the case when the primary rewrite base is set to “/some_folder/” for example.
Consider the following code, located as a prototype method for the Grid class:
addVarToUrl : function(varName, varValue){ var re = new RegExp('\/('+varName+'\/.*?\/)'); var parts = this.url.split(new RegExp('\\?')); this.url = parts[0].replace(re, '/'); this.url+= varName+'/'+varValue+'/'; if(parts.size()>1) { this.url+= '?' + parts[1]; } this.url = this.url.replace(/([^:])\/{2,}/g, '$1/'); // << -- make sure this line is here to solve the issue. return this.url; }