2du hace 5 años
padre
commit
490a238525
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      route/tool/func.py

+ 1 - 1
route/tool/func.py

@@ -1236,7 +1236,7 @@ def edit_filter_do(data):
     return 0
 
 def redirect(data = '/'):
-    return flask.redirect(flask.request.host_url + data)
+    return flask.redirect(flask.request.host_url[:-1] + data)
     
 def get_acl_list(type_d = 'normal'):
     if type_d == 'user':