title: Why does CodeIgniter redirect not remove the hash/pound (#) at the end of the URL?
body: <p>I am not sure if this is really a CodeIgniter issue or a browser issue. This happens in Chrome, but not Safari. However, I would assume it should not be happening in any browser.</p>
  
  <p>If you go to <strong>example.com/foo#</strong> that contains</p>
  
  <pre><code>redirect('bar');
  </code></pre>
  
  <p>you would expect to end up at <strong>example.com/bar</strong>. Instead, you end up at <strong>example.com/bar#</strong>. I don't understand why the hash does not go away. It makes no sense. What is going on?</p>