[Portland-bugs] [Bug 49970] xdg-open has IFS problems opening URLs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 15 13:06:16 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=49970

--- Comment #1 from plynchnlm at gmail.com ---
The problem is on line 662 of xdg-open (in the open_generic function):

eval '$browser $1'$xdg_redirect_output;

should be:

eval '$browser "$1"'$xdg_redirect_output;

because without the "" around $1, the IFS=":" will break up URLs on :
characters.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20141215/82775fa0/attachment.html>


More information about the Portland-bugs mailing list