mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-23 18:50:29 +03:00
Fix for samba_preg access in firefox_applier
Reported by ekorneechev@basealt.ru at 2020-01-28
This commit is contained in:
parent
b2b2b30fc2
commit
5fe8756c72
@ -98,7 +98,7 @@ class firefox_applier(applier_frontend):
|
||||
})
|
||||
response = self.get_hklm_string_entry('Homepage\\URL')
|
||||
if response:
|
||||
homepage['URL'] = response
|
||||
homepage['URL'] = response.data
|
||||
return homepage
|
||||
return None
|
||||
|
||||
@ -108,7 +108,7 @@ class firefox_applier(applier_frontend):
|
||||
'''
|
||||
response = self.get_hklm_string_entry('BlockAboutConfig')
|
||||
if response:
|
||||
if response.lower() in ['0', 'false', False, None, 'None']:
|
||||
if response.data.lower() in ['0', 'false', False, None, 'None']:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user