forked from rDrama/rDrama
remove base 36 crap
parent
4aedbc9b2e
commit
d3aea510f8
|
@ -913,11 +913,6 @@ def remove_follow(username, v):
|
||||||
@cache.memoize(timeout=86400)
|
@cache.memoize(timeout=86400)
|
||||||
@limiter.exempt
|
@limiter.exempt
|
||||||
def user_profile_uid(id):
|
def user_profile_uid(id):
|
||||||
try: id = int(id)
|
|
||||||
except:
|
|
||||||
try: id = int(id, 36)
|
|
||||||
except: abort(404)
|
|
||||||
|
|
||||||
x = get_account(id)
|
x = get_account(id)
|
||||||
return redirect(x.profile_url)
|
return redirect(x.profile_url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue