Skip to content

Commit 1d7098a

Browse files
author
Giuseppe De Marco
authored
Merge pull request #277 from rglauco/dev
fix: typo in redirect_uri f string
2 parents 061c4ef + 322f2c2 commit 1d7098a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spid_cie_oidc/provider/views/consent_page_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def oidc_provider_not_consent(request):
106106
),
107107
state = state
108108
)
109-
url = f'{redirect_uri.scheme}://{redirect_uri.netloc}{redirect_uri.path} if redirect_uri.path else "/"}?{urllib.parse.urlencode(kwargs)}'
109+
url = f'{redirect_uri.scheme}://{redirect_uri.netloc}{redirect_uri.path if redirect_uri.path else "/"}?{urllib.parse.urlencode(kwargs)}'
110110
return HttpResponseRedirect(url)
111111

112112

0 commit comments

Comments
 (0)