GNOME Bugzilla – Bug 710570
EphyWindow: Avoid passing unquoted uri to /bin/sh
Last modified: 2014-01-02 13:30:30 UTC
While in this case we're probably safe because this code path is for embedding users and thus aren't going to be subject to code injection attacks, we'll still going to fail if the argument contains shell metacharacters. Fix that by using g_spawn_async() which doesn't go through /bin/sh. Tested compilation, not at runtime, but should work.
Created attachment 257786 [details] [review] EphyWindow: Avoid passing unquoted uri to /bin/sh
Review of attachment 257786 [details] [review]: Looks good.
Attachment 257786 [details] pushed as cb869fa - EphyWindow: Avoid passing unquoted uri to /bin/sh