We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 955f434 commit 4874746Copy full SHA for 4874746
vdirsyncer/storage/dav.py
@@ -29,25 +29,6 @@
29
CALDAV_DT_FORMAT = "%Y%m%dT%H%M%SZ"
30
31
32
-def _generate_path_reserved_chars():
33
- for x in "/?#[]!$&'()*+,;":
34
- x = urlparse.quote(x, "")
35
- yield x.upper()
36
- yield x.lower()
37
-
38
39
-_path_reserved_chars = frozenset(_generate_path_reserved_chars())
40
-del _generate_path_reserved_chars
41
42
43
-def _contains_quoted_reserved_chars(x):
44
- for y in _path_reserved_chars:
45
- if y in x:
46
- dav_logger.debug(f"Unsafe character: {y!r}")
47
- return True
48
- return False
49
50
51
async def _assert_multistatus_success(r):
52
# Xandikos returns a multistatus on PUT.
53
try:
0 commit comments