<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - URI Fragment is lost after redirect"
   href="https://bugs.webkit.org/show_bug.cgi?id=170058">170058</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>URI Fragment is lost after redirect
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pogris&#64;edu.aau.at
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When using webkit_web_view_load_uri with the URI &quot;<a href="https://hackage.haskell.org/package/bytestring/docs/Data-ByteString.html#v:map">https://hackage.haskell.org/package/bytestring/docs/Data-ByteString.html#v:map</a>&quot;, the jump to the specified anchor is never performed. The page itself redirects to the current version of the documentation hosted there, currently  <a href="https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#v:map">https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#v:map</a>. Loading this URI directly works as intended. The problem also exists when testing with MiniBrowser. 

How to reproduce:
./MiniBrowser &quot;<a href="https://hackage.haskell.org/package/bytestring/docs/Data-ByteString.html#v:map">https://hackage.haskell.org/package/bytestring/docs/Data-ByteString.html#v:map</a>&quot;

Actual Results:
The page is displayed, but not at the anchor point specified

Expected Results:
The page should be scrolled down to the specified anchor. E.g. Firefox preserves the fragment through the redirect.

Tested on Fedora 25, the WebkitGtk version used is 2.14.1.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>