Convert redirect URL to string v1 PROPOSED

João Costa: 1
 Convert redirect URL to string

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tsileo/microblog.pub-devel/patches/43362/mbox | git am -3
Learn more about email & git

[PATCH] Convert redirect URL to string Export this patch

Converts a missing redirect URL to string.
This is required for indieAuth authentication to work on som applications.
 app/admin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/admin.py b/app/admin.py
index 30b95ea..cf9156c 100644
--- a/app/admin.py
+++ b/app/admin.py
@@ -54,7 +54,7 @@ async def user_session_or_redirect(
        if "redirect_url" in form_data:
            redirect_url = form_data["redirect_url"]
            redirect_url = request.url_for("admin_stream")
            redirect_url = str(request.url_for("admin_stream"))
        redirect_url = str(request.url)