mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Make sure collections have trailing slashes (py-caldav is very pedantic about that)
This commit is contained in:
@@ -24,7 +24,7 @@ pub struct CalDavPrincipalUri(&'static str);
|
||||
|
||||
impl PrincipalUri for CalDavPrincipalUri {
|
||||
fn principal_uri(&self, principal: &str) -> String {
|
||||
format!("{}/principal/{}", self.0, principal)
|
||||
format!("{}/principal/{}/", self.0, principal)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user