We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f77d62e commit e77d015Copy full SHA for e77d015
demo-flask/index.py
@@ -23,7 +23,7 @@ def prepare_flask_request(request):
23
# If server is behind proxys or balancers use the HTTP_X_FORWARDED fields
24
return {
25
'https': 'on' if request.scheme == 'https' else 'off',
26
- 'http_host': request.netloc,
+ 'http_host': request.host,
27
'script_name': request.path,
28
'get_data': request.args.copy(),
29
# Uncomment if using ADFS as IdP, https://github.com/onelogin/python-saml/pull/144
0 commit comments