fixed issue 1755:IE11 vs gluon.contrib.user_agent - 'browser' key not existing anymore
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.7.4-stable+timestamp.2013.10.31.09.39.21
|
||||
Version 2.7.4-stable+timestamp.2013.10.31.09.41.31
|
||||
|
||||
@@ -403,6 +403,9 @@ def detect(agent):
|
||||
break
|
||||
except Exception, ex:
|
||||
result['exception'] = ex
|
||||
# hack to address https://code.google.com/p/web2py/issues/detail?id=1755
|
||||
if not 'browser' in result:
|
||||
result['browser'] = Storage({'name':'IE11'})
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user