<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Unquoted file name in xdg-desktop-menu"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69339">69339</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>Unquoted file name in xdg-desktop-menu
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Martin.vGagern@gmx.net
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>1.1.0 rc1
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Line 895 of the xdg-desktop-menu script passed a file name unquoted to grep:

<a href="http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-desktop-menu?id=2baf6ae56f9b622ca51aa79ff370676aaef93908#n895">http://cgit.freedesktop.org/xdg/xdg-utils/tree/scripts/xdg-desktop-menu?id=2baf6ae56f9b622ca51aa79ff370676aaef93908#n895</a>

if grep 'generated and managed by xdg-desktop-menu' $menu_file > /dev/null 2>
/dev/null; then

On my system I have a file name containing the sequence ' - ', which caused
grep to read from stdin, with obscure side effects. I believe that the command
should be something like this:

grep 'ge…nu' -- "$menu_file"</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>