Safari losing hash params on http redirection : <blockquote>
  <p>I am facing an issue wherein the url fragments are not getting
  preserved on redirect in Safari as they should be according to the
  http specifications.</p>
</blockquote>

<hr>

<p><strong>Setting</strong> -</p>

<pre><code>`/url1` redirects to `/url2#hash`

`/url2` redirects to `/url3`
</code></pre>

<p><strong>Expected behaviour</strong> - </p>

<pre><code>Hitting `/url1` should redirect to `/url3#hash`
</code></pre>

<p><strong>Observed behaviour</strong> - </p>

<pre><code>Chrome/FF - Hitting `/url1` redirects to `/url3#hash`
Safari(11+) - Hitting `/url1` redirects to `/url3`
</code></pre>

<hr>

<p>I did read the <a href="https://bugs.webkit.org/show_bug.cgi?id=24175" rel="noreferrer">issue</a> reported for earlier versions of Safari. I also tried the <a href="https://stackoverflow.com/questions/18663410/safari-ignoring-removing-hashatags-when-clicking-hyperlinks">solutions</a> posted in other SO threads in vain.</p>

<p>Any help is appreciated.</p>
