title: Javascript onclick with base tag in ie with subfolder
body: <p>Try this: create a folder <code>test</code> in your website, and put this html file (<code>test.html</code>) in it:</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
  &lt;base href="http://www.site.com/" /&gt;
  &lt;/head&gt;&lt;body&gt;
  &lt;span onclick="window.location.href='test/test.html?done!';return false;"&gt;click me&lt;/span&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>Click the link in your favourite browser. What's the URL?</p>
  
  <p>Click the link in IE. What's the URL?</p>
  
  <p>EDIT: IE takes you to: <a href="http://www.site.com/test/test/test.html?done" rel="nofollow">http://www.site.com/test/test/test.html?done</a>!</p>
  
  <p>Any way to fix this, that isn't (1) removing base tag, (2) changing onclick to use a function that appends the proper base? Is there a way to override the window.location.href function in IE?</p>