This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 452403 - xdg-menu: deal with desktop entry field codes
xdg-menu: deal with desktop entry field codes
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: openbox (Show other bugs)
9
All Linux
low Severity low
: ---
: ---
Assigned To: Miroslav Lichvar
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-22 04:56 EDT by Michael Wagner
Modified: 2008-09-10 03:12 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-10 03:12:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michael Wagner 2008-06-22 04:56:49 EDT
Description of problem:
The dynamic menu created via xdg-menu doesn't handle desktop entry field codes
well. E.g., firefox is called with http://www.%u.com/ as start page. 

Version-Release number of selected component (if applicable):
3.4.7.2-3

Maybe it sufficient to replace all occurrences of %U|u:
  
  import re
  (escape(entry.get_name()), escape(re.sub('%U|u','',entry.get_exec())))
Comment 1 Michael Wagner 2008-06-22 05:01:43 EDT
It should be:
  (escape(entry.get_name()), escape(re.sub('%[Uu]','',entry.get_exec())))


Comment 2 Miroslav Lichvar 2008-08-01 08:14:37 EDT
Fixed in openbox-3.4.7.2-4.fc9.
Comment 3 Fedora Update System 2008-08-01 08:20:23 EDT
openbox-3.4.7.2-4.fc9 has been submitted as an update for Fedora 9
Comment 4 Fedora Update System 2008-08-07 19:50:44 EDT
openbox-3.4.7.2-4.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update openbox'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7016
Comment 5 Fedora Update System 2008-09-10 03:12:07 EDT
openbox-3.4.7.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.