Skip to content

Added Root path to flask request config. This fixes issues with flask applications running not as the root for a domain.#437

Open
ikollipara wants to merge 1 commit intoSAML-Toolkits:masterfrom
ikollipara:fixing-flask
Open

Added Root path to flask request config. This fixes issues with flask applications running not as the root for a domain.#437
ikollipara wants to merge 1 commit intoSAML-Toolkits:masterfrom
ikollipara:fixing-flask

Conversation

@ikollipara
Copy link

Currently in the flask application the prepare_flask_request function only uses the request.path. However, for application that do not run at their domain route, this produces incorrect URLs. The solution is to show request.root_path + request.path. If there is no root, then the result is the same.

… applications running not as the root for a domain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant