forked from MarseyWorld/MarseyWorld
remove base 36 crap
parent
4aedbc9b2e
commit
d3aea510f8
|
@ -913,12 +913,7 @@ def remove_follow(username, v):
|
|||
@cache.memoize(timeout=86400)
|
||||
@limiter.exempt
|
||||
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)
|
||||
|
||||
@app.get("/@<username>/pic")
|
||||
|
|
Loading…
Reference in New Issue