You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty array fields should be preserved to keep the indexing, but should be empty, just like b.
a[0]=0&a[1]=1&a[2]=2&a[3]=&a[4]=4&b=
Maybe, we could also completely drop the empty field, when using explicit indexing.
a[0]=0&a[1]=1&a[2]=2&a[4]=4&b=
However, when the last element of the index is undefined/null this would change the array length. Although this is an edge case, it can break certain apps.
Tomorrow I'll do some tests, to see how different browsers handle a mix of implicit and explicit indexing, so we can optimize the output length.
The text was updated successfully, but these errors were encountered: