1
0
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:
Игорь Чудов 2020-01-28 18:23:47 +04:00
parent b2b2b30fc2
commit 5fe8756c72
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -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