-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
With "follow redirect = true", 303 are followed #2806
Comments
👋 @lyrixx I guess you are right; it seems related to "meta refresh" in the body that is interpreted. Besides, we can reproduce it with a 200 response.
Does that mean that the manually defined headers are sent to the redirected request when the Would you be able to provide the content of the Timeline tab to help the investigation? |
yes, it looks like Here is the timeline
|
When When Honestly, I don't know how we could handle this edge case. It would be possible to prevent navigation in the webview, but I'm not sure it is a good idea. |
This is very well summarized 👍🏼 And actually, I don't know if this issue can be solved. I lost some time today about this (I'm on an audit mission, so I don't really know the code). But this is absolutely not your fault 💛. If it can, this is awesome. It not, feel free the close this issue, I understand. Note: Idea to close this issue: encapsulate the meta tag in a comment before passing the HTML to the web view. This is really hackish, but it could work :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Actually this issue has not been solved. If we can let it open, it will be better IMHO. |
Not a big deal, we can close. |
Hello
Describe the bug
As you can see, the option is disabled
And when a got a 303 and I'm on preview mode the redirection is followed. I think this is due to the fact there is a "meta refresh" in the body, and it's interpreted
More over, the redirected request does not embed the header I manually defined.
If I use "follow redirect: true" everything works fine
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: