title: Ampersand in POST request causing havoc
body: <p>I have a simple POST coming from my iphone app. Its working fine, except passing an ampersand causes the backend to break - it's almost like its treating it like a GET request (ampersands seperate the variable names). Do I need to do some kind of encoding first? Here is the code:</p>
  
  <pre><code>NSString *content = [[NSString alloc] initWithFormat:@"data=%@&amp;email=%@", str, emailAddress.text];
  
  NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"http://www.myurl.com/myscript.php"]];
  [request setHTTPMethod:@"POST"];
  [request setHTTPBody:[content dataUsingEncoding:NSISOLatin1StringEncoding]];
  
  // generates an autoreleased NSURLConnection
  [NSURLConnection connectionWithRequest:request delegate:self];
  </code></pre>