title: Why does my ajax request strip out a '\' backslash character?
body: <p>I'm calling a rest endpoint with ajax that is like this. It takes two params <strong>user</strong> and <strong>permission</strong></p>
  
  <pre><code>$.ajax({
      type: 'GET',
      cache: false,
      url: "/app/Rest/4.0/UserManagement/AddPermissionToUser",
      data: {
          username: encodeURI(user),
          permissionName: encodeURI(permission)
      },
      success: function (msg) {
          //do stuff
      }
  });
  </code></pre>
  
  <p>In the javascript, let's say may <strong>user</strong> is something like <strong>domain\user1</strong>, the ajax request strips out the backslash character. Originially I didn't have the encodeUri()'s in there</p>
  
  <p>One more curious thing is that if I manually stick this url in my browser encoding it like this <strong>domain%5Cuser1</strong> it works as expected. I am in IE 11, is the browser stripping this off, or is it a problem with jQuery? Any ideas?</p>