-
17 Apr 2009 10:33 AM #1
[CLOSED][3.0 RC1][DUP] HttpProxy parameter of 0 changing to empty string
[CLOSED][3.0 RC1][DUP] HttpProxy parameter of 0 changing to empty string
Following code in ext-base.js causes problems with HttpProxy:
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".Code:for(key in o){Ext.each(o[key]||key,function(val,i){buf.push("&",e(key),"=",val!=key?e(val):"");});}
-
17 Apr 2009 11:15 AM #2Sencha - Community Support Team
- Join Date
- Nov 2008
- Location
- San Diego, Peoples' Republic of California
- Posts
- 2,040
- Vote Rating
- 7
-
17 Apr 2009 1:56 PM #3
As the previous posted said, this a dupe, closing this off.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote