Comment 2 for bug 1580740

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote : Re: Cannot open a browser link from a snap that provides a link

Calling it xdg-open with similar semantics of xdg-open sounds nice. It already has an error code to report whether a tool was not found for it, so the application can give it a try and react appropriately if unavailable.

We need to do some basic validation on the value to make sure it looks sane and safe. xdg-open itself calls a huge number of openers and browsers, and we cannot trust that to be all safe.