| Issue 38: | Problem with NSURL_Extensions when parsing a url that contains a query string param with no value | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. try to get the query dictionary for a url like: http://maps.google.com/?q=Detroit+DTW+United+States&zoom What is the expected output? What do you see instead? The expected output is a dict of key/value pairs. Instead a array index exception is thrown Please provide any additional information below. I solved it with the following change NSString *theValue = [theKeyValuePairArray count] > 1 ? [theKeyValuePairArray objectAtIndex:1] : @"";
Nov 1, 2010
Project Member
#1
jwight
Status:
Invalid
|