What steps will reproduce the problem?
1. POST e.g. XLM data in the HTTP body
2. have some encoded XML special characters in there (like < and > and so
on)
3. launch the request
What is the expected output? What do you see instead?
Expected: XML with encoded chars goes straight through
Instead: "*** Terminating app due to uncaught exception 'NSRangeException',
reason: '*** -
[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)"
What version of the product are you using? On what operating system?
// NSMutableURLRequest+Parameters.m
//
// Created by Jon Crosby on 10/19/07.
Please provide any additional information below.
- The code that's in question resides in the - (NSArray *)parameters method of
NSMutableURLRequest+Parameters.m.
- & character is considered a delimiter for key/value pairs which is not always
the case (as for
instance with XML data where & is used to escape special characters)
Original issue reported on code.google.com by neooscom...@gmail.com on 6 Oct 2009 at 10:41
Original issue reported on code.google.com by
neooscom...@gmail.com
on 6 Oct 2009 at 10:41