fixed wrong validation of record_id in globals
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.09.09.14.16.32
|
||||
Version 2.6.0-development+timestamp.2013.09.09.14.28.03
|
||||
|
||||
+1
-1
@@ -915,7 +915,7 @@ class Session(Storage):
|
||||
return
|
||||
(record_id, sep, unique_key) = response.session_id.partition(':')
|
||||
|
||||
if record_id.isdigit() and long(record_id)>1:
|
||||
if record_id.isdigit() and long(record_id):
|
||||
new_unique_key = web2py_uuid()
|
||||
row = table(record_id)
|
||||
if row and row.unique_key==unique_key:
|
||||
|
||||
Reference in New Issue
Block a user