diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-10-14 00:36:05 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-10-14 00:39:00 -0700 |
| commit | 47ccc5788a059ad750dbf5b5bb688ad68e68b0a9 (patch) | |
| tree | ecfe8b61f9c3115ac8c654d1556b38cd5283184c /api | |
| parent | 88afabfd74b3b6e5ab0c34bf66bcfd0609aa8066 (diff) | |
unquote organization text when receiving via url
Diffstat (limited to 'api')
| -rw-r--r-- | api/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,6 +5,7 @@ from psycopg2 import Error import os import secrets from dotenv import load_dotenv +import urllib.parse load_dotenv() app = Flask(__name__) @@ -148,6 +149,7 @@ def server_side_auth_demo(): def generate_organization_captcha(org): server = create_database_connection() create_session = False + org = urllib.parse.unquote(org) if(request.args.get('auth') == "server"): create_session = True if server.check_health() is False: |
