Skip to content
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

UIWebView 302 Redirects cause duplicate requests #40

Closed
alpriest opened this issue Aug 30, 2018 · 5 comments
Closed

UIWebView 302 Redirects cause duplicate requests #40

alpriest opened this issue Aug 30, 2018 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@alpriest
Copy link

alpriest commented Aug 30, 2018

When using Wormholy, a UIWebView that receives a 302 Redirect response issues 2 requests for the redirect URL. You can see it happening by monitoring the web requests in Charles. This does not happen with WKWebView but there is a bug with that implementation which means I have to use UIWebView for now.

I've attached a sample project which demonstrates the failing behaviour, and also screenshots illustrating the duplicate request.

Without Wormholy installed:
screen shot 2018-08-30 at 15 07 10

With Wormholy installed
screen shot 2018-08-30 at 15 10 33

Wormholy-WebView-Duplicate-Request-Example.zip

@alpriest alpriest changed the title WebView 302 Redirects cause duplicate requests UIWebView 302 Redirects cause duplicate requests Aug 30, 2018
@pmusolino pmusolino added the help wanted Extra attention is needed label Sep 23, 2018
@pmusolino
Copy link
Owner

This is really strange. I will investigate.

@yangfeiyu
Copy link

yangfeiyu commented Dec 19, 2018

I meet too. Did you find the root cause?

@fvvliet
Copy link

fvvliet commented Jul 18, 2019

Any updates on this ?

@pmusolino
Copy link
Owner

I released a new (big) version of Wormholy (1.6.5) with some improvements and fixes. https://github.com/pmusolino/Wormholy/releases/tag/1.6.5 Can you test it and let me know if you are still encountering this issue?

@alpriest
Copy link
Author

alpriest commented Nov 1, 2021

This is still an issue with 1.6.5.

As UIWebView was deprecated in iOS 12.0 I tested with WKWebView and it is does not occur with that.

@alpriest alpriest closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants