mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 10:32:19 +00:00
Make sure collections have trailing slashes (py-caldav is very pedantic about that)
This commit is contained in:
@@ -48,7 +48,7 @@ impl Resource for PrincipalResource {
|
||||
.map(|principal| puri.principal_uri(principal))
|
||||
.flat_map(|principal_url| {
|
||||
self.home_set.iter().map(move |&home_name| {
|
||||
HrefElement::new(format!("{}/{}", &principal_url, home_name))
|
||||
HrefElement::new(format!("{}{}/", &principal_url, home_name))
|
||||
})
|
||||
})
|
||||
.collect(),
|
||||
|
||||
Reference in New Issue
Block a user