Redirect Rule not working in Safari when trying to redirect https request to localhost

Request doesn’t get redirected, when trying to redirect a https request to localhost (http://localhost:8081) in Safari.

Rule that i’m using
https://app.requestly.io/rules/#sharedList/1661851676527-Redirect-Rule-failing-in-Safari

@sahil I guess this might be happening because of mixed content issues. Redirection from HTTPS to HTTP and Safari is blocking it. Chrome & Firefox understands that it is okay to load HTTP content from localhost but Safari doesn’t consider it safe. I think we should do a server-side redirect in this case.

We already have fixed the mixed content issues in Safari handled using Server Side redirects. But sometimes the the server side redirects don’t work because of the caching done by Safari. So a quick hack to fix this is to disable the caches.

2 Likes