mirror of
https://github.com/etesync/android
synced 2025-03-15 23:16:06 +00:00
Make well-known URLs work again when user enters an initial context path
This commit is contained in:
parent
b0163e16cd
commit
d0b928a93d
@ -272,7 +272,7 @@ public class DavResourceFinder implements Closeable {
|
||||
|
||||
// look for well-known service (RFC 5785)
|
||||
try {
|
||||
WebDavResource wellKnown = new WebDavResource(base, "/.well-known/" + serviceName);
|
||||
WebDavResource wellKnown = new WebDavResource(base, new URI("/.well-known/" + serviceName));
|
||||
wellKnown.propfind(Mode.CURRENT_USER_PRINCIPAL);
|
||||
if (wellKnown.getProperties().getCurrentUserPrincipal() != null) {
|
||||
URI principal = wellKnown.getProperties().getCurrentUserPrincipal();
|
||||
|
Loading…
Reference in New Issue
Block a user