1
0
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:
Ricki Hirner 2015-09-22 12:19:39 +02:00
parent b0163e16cd
commit d0b928a93d

View File

@ -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();