title: Why `replaceState` removes `index.html` in `/basehref/index.html`
body: <p>I have the <code>/is/</code> set as base href and the following simple code in the <code>index.html</code> that uses <code>replaceState()</code>:</p>
  
  <pre><code>&lt;base href="/is/"&gt;
  &lt;script&gt;
      setTimeout(()=&gt;{
          history.replaceState(null, "", "#/some");
      }, 2000);
  &lt;/script&gt;
  </code></pre>
  
  <p>The URL before the code is executed looks like this:</p>
  
  <pre><code>http://localhost:8080/index.html
  </code></pre>
  
  <p>However, once the code is executed the <code>index.html</code> is gone and the URL looks like this:</p>
  
  <pre><code>http://localhost:8080/is/#/some
  </code></pre>
  
  <p>I expected it to look like this:</p>
  
  <pre><code>http://localhost:8080/is/index.html#/some
  </code></pre>
  
  <p>Why is <code>index.html</code> gone?</p>