Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 448e0529 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Make well-known URLs work again when user enters an initial context path

parent b8005566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();