From a5954f03e04037b0946cf9a8d501e2192c5f06e6 Mon Sep 17 00:00:00 2001 From: "128343390+import-pandas-as-numpy@users.noreply.github.com" <128343390+import-pandas-as-numpy@users.noreply.github.com> Date: Fri, 3 May 2024 05:37:09 -0500 Subject: [PATCH] Strip whitespace from project argument --- inspector/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inspector/main.py b/inspector/main.py index 13f73a7..565030d 100755 --- a/inspector/main.py +++ b/inspector/main.py @@ -50,6 +50,7 @@ def handle_bad_request(e): @app.route("/") def index(): if project := request.args.get("project"): + project = project.strip() return redirect(f"/project/{project}") return render_template("index.html")