Closed alpriest closed 2 years ago
This is really strange. I will investigate.
I meet too. Did you find the root cause?
Any updates on this ?
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?
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.
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:
With Wormholy installed
Wormholy-WebView-Duplicate-Request-Example.zip