Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[buteo-sync-plugin-carddav] Allow redirect with different scheme. Con…
…tributes to JB#53434 Previously, if the server redirected a request from: https://dav.server.tld/ to: http://dav.server.tld/ or vice versa, we wrongly detected the redirect as spurious due to the paths matching. This commit allows the redirect due to the different scheme. It also allows redirecting to a different port. However, if the host is different, the redirect is blocked, as that is unsafe.
- Loading branch information
Showing
1 changed file
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters