title: IE redirecting to .application file
body: <p>I have a page (page1.html) whose content is simply:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta charset='UTF-8'&gt;
  &lt;script language='javascript'&gt;
    var redirecturl = 'http://www.mywebsite.com/file.application?ts=123456';
    function redirect() {
      var anchor = window.location.hash;
      window.self.location = redirecturl + anchor;
    }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body onload=redirect()&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This code works fine in various versions of Chrome and FF on various machines. However, this doesn't <em>always</em> work in IE. I have a colleague using IE 9 w/o admin rights, for whom this does not work. I also have a virtual machine running IE 11 w/ admin rights for which this also doesn't work.</p>
  
  <p>Confusingly, I am using IE 11 w/ admin rights and this does work, I also have a separate colleague using IE 10 w/o admin rights for whom this does work. So the success rate seems somewhat varied and I can't see anything in each of our settings that should suggest it should work for one and not another.</p>
  
  <p>I should expand slightly, the behaviour is such that it simply doesn't download the file, or even offer the box asking to save the file (for those that aren't working). I've run Fiddler on those two machines, strangely on the machine running IE 9 I can actually see a request made for the redirect URL, whereas the machine running IE 11 doesn't even do that.</p>
  
  <p>Oh, and lastly, if I hit the URL I'm trying to redirect to directly, on any of the machines in any of the browsers, it works fine.</p>
  
  <p>Is there a security measure kicking in somewhere that might be causing this?</p>