fix: CalDAV sync broken by SSRF hostname replacement (#19291)
/closes #19272
This commit is contained in:
+2
-1
@@ -26,9 +26,10 @@ export class CalDavClientProvider {
|
||||
throw new Error('Missing required CalDAV connection parameters');
|
||||
}
|
||||
|
||||
const serverUrl = await this.secureHttpClientService.getValidatedUrl(
|
||||
await this.secureHttpClientService.getValidatedHost(
|
||||
connectedAccount.connectionParameters.CALDAV.host,
|
||||
);
|
||||
const serverUrl = connectedAccount.connectionParameters.CALDAV.host;
|
||||
|
||||
return new CalDAVClient({
|
||||
username:
|
||||
|
||||
Reference in New Issue
Block a user