2012-02-01 17:16, Jesse Hathaway skrev: > patch causes a regression with filenames with spaces: > > --- /home/jhathaway/tmp/xdg-open 2012-02-01 10:16:01.258018651 -0600 > +++ /usr/bin/xdg-open 2012-02-01 10:12:31.305570388 -0600 > @@ -549,7 +549,7 @@ > command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut > -d= -f 2- | first_word`" > command_exec=`which $command 2>/dev/null` > arguments="`grep -E "^Exec(\[[^]=]*])?=" "$file" | > cut -d= -f 2- | last_word`" > - local sed_escaped_url=$(echo "$1" | sed -e 's/[&\\]/\\&/g') > + local sed_escaped_url="$(echo "$1" | sed -e 's/[&\\]/\\&/g')" > arguments_exec="`echo $arguments | sed -e > 's*%[fFuU]*"'"$sed_escaped_url"'"*g'`" > if [ -x "$command_exec" ] ; then > if echo $arguments | grep -iq '%[fFuU]' ; then >
Fix uploaded now. Thank you for reporting this! -- Pelle -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

