cdasilva
17 Apr 2009, 10:33 AM
Following code in ext-base.js causes problems with HttpProxy:
for(key in o){Ext.each(o[key]||key,function(val,i){buf.push("&",e(key),"=",val!=key?e(val):"");});}
When passing parameters such as "start=0", the o[key]||key results in comparison of 0||"start" which results in val being equal to "start" instead of "0". This results in the eventual parameters on the URL being "start=" instead of expected "start=0".
for(key in o){Ext.each(o[key]||key,function(val,i){buf.push("&",e(key),"=",val!=key?e(val):"");});}
When passing parameters such as "start=0", the o[key]||key results in comparison of 0||"start" which results in val being equal to "start" instead of "0". This results in the eventual parameters on the URL being "start=" instead of expected "start=0".