Fix: Apply unicode normalization to all paths and path components (#12993)

This commit is contained in:
Trenton H authored and GitHub committed 2026-06-13 12:45:54 +00:00
1 parent 92c016ce47
commit 8ed4bf2011
6 files changed
+499 -20

No files matched your search

+1
View File
@@ -3126,6 +3126,7 @@ class PostDocumentView(GenericAPIView[Any]):
serializer.is_valid(raise_exception=True)
doc_name, doc_data = serializer.validated_data.get("document")
doc_name = normalize("NFC", doc_name)
correspondent_id = serializer.validated_data.get("correspondent")
document_type_id = serializer.validated_data.get("document_type")
storage_path_id = serializer.validated_data.get("storage_path")