Adjusted query string array representation to remove indices. #8342
Hi guys - after some discussion about the implementation provided in PR #8261, it looks like we should adjust the implemented array handling a bit. Right now arrays are encoded with indices like:
While this implementation is somewhat supported by external languages and frameworks, it's not as well supported (by default) as the following query string representation for arrays:
For example, PHP and Rails both expect no indices for arrays.
This PR adjusts the
* Adjusted query string array representation to remove indices. * Increased major version since the new _encodeParams() result is not backwards compatiable.