In Debian, additional changes for CVE-2014-9622 were added for safer parsing: https://bugs.freedesktop.org/66670 https://bugs.debian.org/773085 The Debian patch is attached. It applies to an older release candidate, so may not apply cleanly.
Created attachment 113448 [details] xdg-open-safe.diff
Thanks! Offhand, this does look like a much better approach.
Boo, similar to bug #89129 , this patch was generated against a much older version of xdg-utils and no longer applies as-is. I'll see if I can rework it.
Adapted it with only little fuss, thanks again. :) http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=13d9b0cac97e438bf7dc06452ee7fb3480907d88
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.