mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-30 21:12:05 +00:00
Preserve empty PATH_INFO from WSGI and strip base prefix from destination
This commit is contained in:
parent
0601b81aa7
commit
8536ffee44
2 changed files with 7 additions and 6 deletions
|
@ -466,10 +466,6 @@ class Collection(BaseCollection):
|
|||
|
||||
@classmethod
|
||||
def discover(cls, path, depth="0"):
|
||||
if path is None:
|
||||
# Wrong URL
|
||||
return
|
||||
|
||||
# Path should already be sanitized
|
||||
sane_path = sanitize_path(path).strip("/")
|
||||
attributes = sane_path.split("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue