You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function in object assume HTTP is the only scheme.
If the PREFERRED_URL_SCHEME has been set to HTTPS it will not pick up the changes, resulting in false positives during testing.
It is true that you can pass an absolute URL, bypassing the problem. Nevertheless, I am wondering if it would be better to have this function to comply with the PREFERRED_URL_SCHEME specified in Flask.
The function in object assume HTTP is the only scheme.
If the
PREFERRED_URL_SCHEME
has been set toHTTPS
it will not pick up the changes, resulting in false positives during testing.It is true that you can pass an absolute URL, bypassing the problem. Nevertheless, I am wondering if it would be better to have this function to comply with the
PREFERRED_URL_SCHEME
specified in Flask.Code here
Suggested change:
The text was updated successfully, but these errors were encountered: