title: Jquery ajax whitespace and ampersand issue
body: <p>I am doing something like this</p>
  
  <pre><code>var apiOptions = {
      url: url,
      dataType: 'jsonp',
      type: "GET",
      success: success
  };
  
  if(dataOptions) {
      apiOptions.data = {
          key: self.settings.key,
          limit: self.limit,
          address: dataOptions.address,
      };
  }
  $.ajax(apiOptions);
  </code></pre>
  
  <p>And it works fine for everything except for when I have " &amp; ", so spaces around an ampersand. So the request parameter looks like <code>"D+&amp;+D,+enterprisess"</code> or <code>D+%26+D%2C</code>. This then returns a 404 on the server.</p>
  
  <p>Any idea what to do here ?</p>