PDA

View Full Version : [FIXED][3.0] Ext.urlDecode blank string has an undefined member



djiao
7 Jul 2009, 12:24 PM
In ExtJS 3.0.0, if apply urlDecode to a blank string, the array actually has one item, with the key being a blank string, and the value is "undefined". For example,


var params = Ext.urlDecode("")
var str = Ext.urlEncode(params)

now str is (without quotes)

"=undefined"

evant
7 Jul 2009, 4:35 PM
This has been fixed in SVN, thanks for the report.