title: Why might I get a double escape sequence error in mobile chrome but not desktop chrome?
body: <p>When attempting to make an ajax post from my angular web page on a mobile device, I receive the following error:</p>
  
  <pre><code>The request contained a double escape sequence and request filtering is configured on the Web server to deny double escape sequences.
  </code></pre>
  
  <p>However, when attempting to make the same post from my desktop, the post works as expected and I receive no error. I have tested this in chrome and IE.</p>
  
  <p>Here is the ajax post if it helps:</p>
  
  <pre><code>$scope.upload = $upload.upload({
  url: baseApiAddress + 'mobile/' + customerPhone, //+ $scope.mobileId,
  method: 'PUT',
  file: file, // or list of files: files for html5 only
  contentType: "application/json"
  })
  </code></pre>
  
  <p>I am able to prevent this error by adding the following to my <code>web.config</code>:</p>
  
  <pre><code>&lt;system.webServer&gt;
    &lt;security&gt;
      &lt;requestFiltering allowDoubleEscaping="True"/&gt;
    &lt;/security&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>I'm reading why this may be dangerous <a href="https://stackoverflow.com/questions/1453218/is-enabling-double-escaping-dangerous">here</a>.</p>
  
  <p>Why does this error occur on mobile when it is not present on desktop? Thank you very much for your time. Please let me know if I am being unclear or if you need any additional information from me.</p>