Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 549286

Summary: >=x11-misc/xdg-utils-1.1.0_rc3_p20150413: snapsot request
Product: Gentoo Linux Reporter: Livid <g.livid>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: orzel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Livid 2015-05-12 17:12:48 UTC
Current version of xdg-utils fails with desktop files, which contain multiple arguments, for example, okular:

Exec=okular %U %i -caption %c

xdg-open test.pdf

Okular starts, and presents error message "Can not open file /home/user/test.pdf  --icon 'okular' -caption 'Okular'"

This is happening due to misguided fix for CVE-2014-9622, which escapes whole argument list, instead of individual arguments.

Newer version (something after 2015-04-13) should work, so I request a version bump.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2015-07-18 16:25:40 UTC
*** Bug 540666 has been marked as a duplicate of this bug. ***
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2015-08-25 09:15:48 UTC
Thanks for reporting. New snapshot version in tree. Please sync.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63b775aa4496f79fab24312102578fd08c3597b