[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-portland-bugs
Subject:    [Portland-bugs] [Bug 23319] New: xdg-open can't handle arguments
From:       bugzilla-daemon () freedesktop ! org
Date:       2009-08-15 1:55:40
Message-ID: bug-23319-6947 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

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@lists.freedesktop.org
        ReportedBy: amdmi3@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.
_______________________________________________
Portland-bugs mailing list
Portland-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/portland-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic