mirror of
https://github.com/etesync/android
synced 2025-05-23 09:18:49 +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)
|
// look for well-known service (RFC 5785)
|
||||||
try {
|
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);
|
wellKnown.propfind(Mode.CURRENT_USER_PRINCIPAL);
|
||||||
if (wellKnown.getProperties().getCurrentUserPrincipal() != null) {
|
if (wellKnown.getProperties().getCurrentUserPrincipal() != null) {
|
||||||
URI principal = wellKnown.getProperties().getCurrentUserPrincipal();
|
URI principal = wellKnown.getProperties().getCurrentUserPrincipal();
|
||||||
|
Loading…
Reference in New Issue
Block a user