Bug 63447
git-svn-id: svn://svn.office.custis.ru/3rdparty/viewvc.org/trunk@869 6955db30-a419-402b-8a0d-67ecbb4d7f56remotes/github/custis
parent
b9a894f708
commit
bb906c1f70
|
@ -199,7 +199,7 @@ def handler(req):
|
|||
try: r_data = anyjson.deserialize(r_data)
|
||||
except: r_data = ''
|
||||
if v.get('ga_client', '') == '' and (not r_data and re.match('opera|firefox|chrome|safari', req.headers_in.get('User-Agent', ''), re.I)
|
||||
or v.get('ga_require', '') != '') or gac['ga_always_require']:
|
||||
or v.get('ga_require', '') != ''):
|
||||
ga_id = binascii.hexlify(os.urandom(16))
|
||||
ga_key = binascii.hexlify(os.urandom(16))
|
||||
url = gac['globalauth_server']
|
||||
|
|
Loading…
Reference in New Issue