mirror of
https://github.com/munki/munki.git
synced 2026-04-23 04:59:17 -05:00
MSU.app: Encode update descriptions in UTF-8 before passing to WebKit WebFrame loadData_MIMEType_textEncodingName_baseURL_. Fixes an issue with certain Mac OS X versions.
This commit is contained in:
@@ -129,7 +129,7 @@ class MSUOptionalInstallsViewController(NSViewController):
|
||||
self.descriptionView.mainFrame().loadHTMLString_baseURL_(description, None)
|
||||
else:
|
||||
self.descriptionView.mainFrame().loadData_MIMEType_textEncodingName_baseURL_(
|
||||
buffer(description),
|
||||
buffer(description.encode('UTF-8')),
|
||||
u"text/plain", u"utf-8", None)
|
||||
def updateDescriptionView(self):
|
||||
#NSLog(u"MSUOptionalInstallsViewController.updateDescriptionView")
|
||||
|
||||
Reference in New Issue
Block a user