sd
This commit is contained in:
parent
f341fc27d7
commit
53b1a2f862
6 changed files with 7 additions and 25 deletions
|
@ -967,9 +967,7 @@ def user_profile_uid(v, id):
|
|||
if v and request.path.startswith('/logged_out'): v = None
|
||||
|
||||
try: id = int(id)
|
||||
except:
|
||||
try: id = int(id, 36)
|
||||
except: abort(404)
|
||||
except: abort(404)
|
||||
x=get_account(id)
|
||||
return redirect(x.profile_url)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue