File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6666 Arg . __decode = function ( s ) {
6767 while ( s && s . indexOf ( "+" ) > - 1 ) {
6868 s = s . replace ( "+" , " " ) ;
69- } ;
69+ }
7070 s = decodeURIComponent ( s ) ;
7171 return s ;
7272 } ;
118118 obj [ currentRoot ] = obj [ currentRoot ] || [ ] ;
119119 nextSelector = nextSelector . replace ( ']' , '' ) ;
120120
121- if ( nextSelector . search ( / [ \. \[ ] / ) === - 1 ) {
121+ if ( nextSelector . search ( / [ \. \[ ] / ) === - 1 && nextSelector . search ( / ^ [ 0 - 9 ] + $ / ) > - 1 ) {
122122 nextSelector = parseInt ( nextSelector , 10 ) ;
123123 }
124124
286286 if ( s . indexOf ( "=" ) === - 1 && s . indexOf ( "&" ) === - 1 )
287287 return "" ;
288288
289- while ( s . indexOf ( Arg . hashSeperator ) == 0 || s . indexOf ( Arg . querySeperator ) == 0 )
289+ while ( s . indexOf ( Arg . hashSeperator ) === 0 || s . indexOf ( Arg . querySeperator ) = == 0 )
290290 s = s . substr ( 1 ) ;
291291
292292 return s ;
You can’t perform that action at this time.
0 commit comments