ck 4 năm trước cách đây
mục cha
commit
28535af618
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      handlers/HandlerBase.py

+ 1 - 1
handlers/HandlerBase.py

@@ -110,7 +110,7 @@ class BaseHandler(RequestHandler,DateUtils):
             if not Authorization:
             if not Authorization:
                 return False
                 return False
             print(Authorization)
             print(Authorization)
-            origStr = Authorization[::-1]
+            origStr = Authorization.split(' ')[1][::-1]
             if (len(origStr) % 3 == 1):
             if (len(origStr) % 3 == 1):
                 origStr += "=="
                 origStr += "=="
             elif (len(origStr) % 3 == 2):
             elif (len(origStr) % 3 == 2):