WebDAV and other minor fixes

This commit is contained in:
Maurus Decimus
2026-04-18 10:42:21 +02:00
parent e6fbd189d6
commit dd95efe3ce
8 changed files with 53 additions and 6 deletions

View File

@@ -595,7 +595,9 @@ impl ParseHttp for Server {
}
external => {
if path.next().is_none() {
return Ok(HttpResponse::redirect(format!("/{external}/")));
if !external.is_empty() {
return Ok(HttpResponse::redirect(format!("/{external}/")));
}
} else if let Some(resource) = self
.inner
.data