[Bug 430072] xdg-open should call mimeopen with -L option

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 22 10:47:05 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=430072

Petr Pisar <ppisar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppisar at redhat.com
          Component|perl-File-MimeInfo          |xdg-utils
         AssignedTo|mmaslano at redhat.com         |rdieter at math.unl.edu

--- Comment #14 from Petr Pisar <ppisar at redhat.com> 2010-06-22 06:47:01 EDT ---
mimeopen (from perl-File-MimeInfo package) does not use xdg-open (from
xdg-utils). The no-follow behavior is default for mimeopen.

However I opened feature request
<https://rt.cpan.org/Public/Bug/Display.html?id=58575> at upstream.

If xdg-open users want consistent behavior over all xdg-utils back-ends,
xdg-open code must be changed to reflect it:

$ grep -Hn -C5 mimeopen /usr/bin/xdg-open 
/usr/bin/xdg-open-426-            if [ $? -eq 0 ]; then
/usr/bin/xdg-open-427-                exit_success
/usr/bin/xdg-open-428-            fi
/usr/bin/xdg-open-429-        fi
/usr/bin/xdg-open-430-
/usr/bin/xdg-open:431:        if mimeopen -v 2>/dev/null 1>&2; then
/usr/bin/xdg-open:432:            mimeopen -n "$file"
/usr/bin/xdg-open-433-            if [ $? -eq 0 ]; then
/usr/bin/xdg-open-434-                exit_success
/usr/bin/xdg-open-435-            fi
/usr/bin/xdg-open-436-        fi
/usr/bin/xdg-open-437-    fi

Add `-L' option on line 431.

Reassigning to xdg-utils.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the perl-devel mailing list