<html>
    <head>
      <base href="https://bugs.freedesktop.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 - xdg-open does not support queries in file: URLs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98648">98648</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xdg-open does not support queries in file: URLs
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rrt@sc3d.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is not really xdg-open's fault. For example, I believe it works in KDE (as
per <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - xdg-open does not honor anchors in file URLs"
   href="show_bug.cgi?id=7863">bug #7863</a>); but it doesn't work in GNOME, because gvfs-open doesn't support
it.

xdg-open should (as usual) paper over the cracks here, by detecting queries
(and anchors) in file: URLs, and improving open_generic to open them with a
browser. This can be achieved by improving is_file_url_or_path to be, as it
were, is_plain_file_url_or_path.

This bug prevents xdg-open being used in some places, e.g. as Racket's launcher
(www.racket-lang.org).</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>