fix misspellings

This commit is contained in:
Mathieu Dupuy
2024-07-24 11:22:49 +02:00
parent 61be51e9f3
commit 47bc966a13
11 changed files with 23 additions and 23 deletions

View File

@@ -232,7 +232,7 @@ class Application(ApplicationPartDelete, ApplicationPartHead,
path.rstrip("/").endswith("/.well-known/carddav")):
return response(*httputils.redirect(
base_prefix + "/", client.MOVED_PERMANENTLY))
# Return NOT FOUND for all other paths containing ".well-knwon"
# Return NOT FOUND for all other paths containing ".well-known"
if path.endswith("/.well-known") or "/.well-known/" in path:
return response(*httputils.NOT_FOUND)