Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-pyxdg.25629
pyxdg-CVE-2019-12761.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pyxdg-CVE-2019-12761.patch of Package python-pyxdg.25629
diff -Nurp pyxdg-0.25-orig/xdg/Menu.py pyxdg-0.25/xdg/Menu.py --- pyxdg-0.25-orig/xdg/Menu.py 2012-11-06 00:41:29.000000000 +0100 +++ pyxdg-0.25/xdg/Menu.py 2022-08-29 14:26:15.976242712 +0200 @@ -377,11 +377,11 @@ class Rule: def parseFilename(self, value): self.parseNew() - self.Rule += "menuentry.DesktopFileID == '%s'" % value.strip().replace("\\", r"\\").replace("'", r"\'") + self.Rule += "menuentry.DesktopFileID == %r" % value.strip() def parseCategory(self, value): self.parseNew() - self.Rule += "'%s' in menuentry.Categories" % value.strip() + self.Rule += "%r in menuentry.Categories" % value.strip() def parseAll(self): self.parseNew()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor