If there is GREP_OPTIONS='--color=always' environment variable, xdg-open stops working. Adding unset GREP_OPTIONS would fix this.
Thanks, http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=824caaee52bf94fc286cd14c6a9fe2fe1f20c4ad
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.