title: Internet Explorer authentication of a REST with domain\username
body: <p>I have a working javascript/jQuery REST app with the webtrends' exctraction API, with the exception of IE.</p>
  
  <p>I am sending authentication via SSL - https://[domainname]\[username]:[password]@ws.webtrends.com/v3/Reporting/profiles/10609/Keymetrics/?start_period=current_day-1&amp;end_period=current_day&amp;period_type=agg&amp;format=json</p>
  
  <p>When I look inside of Developer Tools (F12) > under the Network tab, Internet Explorer changes the backslash('\') to a forward slash ('/'), which results in the browser looking for a web site with the value of the domainname.</p>
  
  <p>All other browsers do NOT change the backslash.</p>
  
  <pre><code>    $.ajaxSetup({
          crossDomain: true,
          async: false,
          contentType: "application/jsonp",
          dataType: "jsonp",
          type: "POST",
          cache: false,
          beforeSend: function(xhr) {
            xhr.overrideMimeType("application/jsonp; charset=UTF-8");
          },
          headers: {
              "Authorization": mBaseSixtyFourVar
          },
          url: mXferObj.mUrl
      });
  
      $.ajax({ 
          success: function(mInfo){        
              mRecvObj = mInfo;
              alert(mRecvObj.data[0].measures.NewVisitors+"");
          },
          error: function (xmlHttpRequest, textStatus, errorThrown) {
              alert("xmlHttpRequest.readyState: "+xmlHttpRequest.readyState+", textStatus: "+textStatus+", errorThrown: "+errorThrown+", mXferObj.mUrl: "+mXferObj.mUrl);
          }
      });
  </code></pre>
  
  <p>I have tried the following:</p>
  
  <p>Inserting this into the ajaxsetup</p>
  
  <pre><code>data: "{'domain':'domainname','username':'blabla','password':'blabla'}",
  </code></pre>
  
  <p>With PHP, I have tried using curl, but nothing returned except bool(false):</p>
  
  <p>I tried file_get_contents() but I received open stream errors.</p>
  
  <p>I have this working in FireFox, Opera, Safari, Chrome - why is IE always the hold up to perfection?</p>
  
  <p>Any help would be appreciated and thanks in advance</p>
  
  <p>As requested, here is ONE of the curL codes that I have tried:</p>
  
  <pre><code>if (!function_exists('curl_init')){ 
      die('CURL is not installed!');
  }
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $Url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  $output = curl_exec($ch);
  curl_close($ch);
  var_dump $output;
  </code></pre>
  
  <p>I have tried the options:</p>
  
  <pre><code>curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
  curl_setopt(CURLOPT_USERPWD, '[username]:[password]') 
  </code></pre>
  
  <p>So many different things that I have tried, that was the last</p>