-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Both request
and response
methods fail to support external redirects inside controller
#768
Comments
As a point of reference using the Flask framework this is as easy as
|
@eaguad1337 is this something you can replicate? i couldnt |
@gabefair what browser was this? chrome right? |
@josephmancuso I confirm this is a bug. I can't confirm why yet but the Location Header is not being set right in
For any reason, the location var is being emptied and the Location header is being set to an empty string. I am trying to figure it out to fix it. |
@josephmancuso the error is in str.py, the method response.py:183
str.py:79
See my comment above. In theory, it should be enough concatenating the real base url with the path. |
Wishing you the best wishes Joe Mancuso with your Cancer battle!
Describe the bug
This needed feature is not documented.
See: https://stackoverflow.com/q/76300134/635160
and: https://stackoverflow.com/q/77260388/635160
It gets stuck in redirecting
Expected behaviour
The following code should successfully redirect to the external url.
OS
Linux
OS version
Ubuntu 22.04
Masonite Version
4.6.1
The text was updated successfully, but these errors were encountered: