title: html <base> doesn't work with href to localhost
body: <p>My links look like</p>
  
  <pre><code>&lt;link rel="stylesheet" href="/utils/style.css" /&gt;
  </code></pre>
  
  <p>I had my website in main dir so it wasn't a problem but when I moved all my files to /dir/ I set up base tag :</p>
  
  <pre><code>&lt;base href="http://localhost/dir" /&gt;
  </code></pre>
  
  <p>But it doesn't work. It works perfectly fine though if I use online URL to my website</p>
  
  <pre><code>&lt;base href="http://www.my-website.com" /&gt;
  </code></pre>
  
  <p>what's wrong ?</p>