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