-
-
Notifications
You must be signed in to change notification settings - Fork 16
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Following redirects is disabled, but it actually still works.
Try using an URL shortener like kutt.it for the ics calendar file address. ICSx5 will follow the redirect and add the subscription with the shortened URL.
@ArnyminerZ What is the actual reason we want to disallow following redirects in the first place? Could we not simply allow that?
Disabled (not working) here:
icsx5/app/src/main/java/at/bitfire/icsdroid/AppHttpClient.kt
Lines 63 to 69 in 576e861
config { | |
followRedirects(false) | |
connectTimeout(20, TimeUnit.SECONDS) | |
readTimeout(60, TimeUnit.SECONDS) | |
sslSocketFactory(sslContext.socketFactory, certManager) | |
hostnameVerifier(certManager.HostnameVerifier(OkHostnameVerifier)) | |
} |
We can probably disable it properly (if we want to) by setting followRedirects = false
for all engines.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working