Merge branch '523-improve-validation-checks' of https://gitlab.com/openflexure/openflexure-microscope-server into 523-improve-validation-checks

This commit is contained in:
Beth Probert 2026-03-09 13:54:45 +00:00
commit fc437f529c

View file

@ -208,7 +208,8 @@ def _sanitise_reserved(name: str, is_filename: bool = True) -> str:
:param name: The component to check.
:param is_filename: Whether the component is a filename.
If True, names will be forced into lowercase.
If True, names will be forced into lowercase.
:returns: The sanitised component, in lower case.
"""
# Check for Windows reserved names.