diff --git a/yellow/routes.py b/yellow/routes.py index 608bdd3..1bb801f 100644 --- a/yellow/routes.py +++ b/yellow/routes.py @@ -38,6 +38,8 @@ async def dashboard_address_post(): address = form.get('address') if len(address) != 97: raise Exception("Please submit a WOW address") + elif not address.isalnum(): + raise Exception("Please submit a WOW address") # update user from yellow.models import User