[Portland-bugs] [Bug 23319] New: xdg-open can't handle arguments with # sumbol

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 14 18:55:40 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23319

           Summary: xdg-open can't handle arguments with # sumbol
           Product: Portland
           Version: 1.0
          Platform: x86 (IA32)
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: amdmi3 at amdmi3.ru


xdg-utils 1.0.2, FreeBSD 8.0-BETA i386.

# xdg-open
"http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html#PORTS-MAJOR-UPGRADE"
sed: 1: "s#%s#http://www.freebsd ...": bad flag in substitute command: 'P'

xdg-open:367:
browser_with_arg=`echo "$browser" | sed s#%s#"$1"#`

obviously, $1 should be escaped, or (likely better) printf should be used
instead of echo.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list