From 599dfb167704797f81a1ec150580869b8a712dda Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Thu, 26 Oct 2023 20:35:43 +0530 Subject: [PATCH] fix incorrect construction of og:url --- routers/root.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routers/root.py b/routers/root.py index ea4d25926..c8cc71295 100644 --- a/routers/root.py +++ b/routers/root.py @@ -300,7 +300,9 @@ def st_page( def get_og_url_path(request) -> str: - return str(furl(settings.APP_BASE_URL) / request.url.full_path) + return str( + (furl(settings.APP_BASE_URL) / request.url.path).add(request.query_params) + ) def get_run_user(request, uid) -> AppUser | None: