Files
qdrant/lib/api
Tim ViséeandRoman Titov c12bea4786 Reject .. in collection names (#10242)
* Reject dot segments in collection names

Collection names are used as directory components on disk
(storage/collections/<name>, snapshots/<name>). Apply the same
plain-file-name predicate already used for snapshot names, so names
like ".." and "." no longer resolve outside the parent directory.
Applied to the legacy validator too: dot segments were never usable as
directory names, so no existing collection can be locked out by this.

* Fix collection name validation test on Windows, backslash disallowed

* Apply suggestions from code review

Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>

---------

Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
2026-09-03 12:42:22 +02:00
..
2026-08-04 11:18:45 +02:00
2026-08-04 13:48:45 +02:00