A postmortem:

+-        command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | 
first_word`"
++        command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | sed 
-e 's/ .*$//'`"

This change was incorrect.  "first_word" both "read"s one line and
discards everything after a space. "sed" operates on many lines. Thus,
more than on Exec in a desktop file are both legal and incorrectly
joined together into command as "first\nsecond\third".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/779156

Title:
  xdg-email does not detect LXDE in Lubuntu mailto: URIs in chromium
  handled poorly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/779156/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to