diff --git a/radicale/tests/static/todo9.ics b/radicale/tests/static/todo9.ics
new file mode 100644
index 0000000..b3a82a2
--- /dev/null
+++ b/radicale/tests/static/todo9.ics
@@ -0,0 +1,14 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:+//IDN bitfire.at//DAVdroid/1.9.9-gplay ical4j/2.x
+BEGIN:VTODO
+DTSTAMP:20180102T122043Z
+UID:todo9
+CREATED:20180102T122042Z
+LAST-MODIFIED:20180102T122042Z
+SUMMARY:todo9
+STATUS:NEEDS-ACTION
+RRULE:FREQ=WEEKLY
+DUE;VALUE=DATE:20130901
+END:VTODO
+END:VCALENDAR
diff --git a/radicale/tests/test_base.py b/radicale/tests/test_base.py
index f14484d..46c8f5b 100644
--- a/radicale/tests/test_base.py
+++ b/radicale/tests/test_base.py
@@ -993,17 +993,19 @@ class BaseRequestsMixIn:
- """], "todo", items=(1, 2))
+ """], "todo", items=(1, 2, 9))
assert "href>/calendar.ics/todo1.ics" in answer
assert "href>/calendar.ics/todo2.ics" in answer
+ assert "href>/calendar.ics/todo9.ics" in answer
answer = self._test_filter(["""
- """], "todo", items=(1, 2))
+ """], "todo", items=(1, 2, 9))
assert "href>/calendar.ics/todo1.ics" not in answer
assert "href>/calendar.ics/todo2.ics" in answer
+ assert "href>/calendar.ics/todo9.ics" in answer
answer = self._test_filter(["""
@@ -1020,6 +1022,13 @@ class BaseRequestsMixIn:
"""], "todo", items=(1, 2))
assert "href>/calendar.ics/todo1.ics" not in answer
assert "href>/calendar.ics/todo2.ics" not in answer
+ answer = self._test_filter(["""
+
+
+
+
+ """], "todo", items=(9,))
+ assert "href>/calendar.ics/todo9.ics" not in answer
def test_time_range_filter_journals(self):
"""Report request with time-range filter on journals."""