AFNetworking/AFNetworking — pull request #555 by chriscox (2012-10-03 15:28:48+00:00)
Title: Fix support for nested array parameters

When request is sent using `AFFormURLParameterEncoding` encoding, nested arrays are including [] in their keys. Simply removing them here to allow web services to understand string arrays without additional parsing of keys.

Example:

NSArray *comments = [NSArray arrayWithObjects:@"123", @"456", nil];

Previous query string:

// [] converted to %5B and %5D respectively
comments%5B%5D=123&comments%5B%5D=456

Fixed query string:

comments=123&comments=456