RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix folder name suffix checking` (#2194)
Kevin Hub9c383612d7d
diff --git a/api/apps/file_app.py b/api/apps/file_app.pyindex 4f065aa157..17f3c64265 100644--- a/api/apps/file_app.py+++ b/api/apps/file_app.py@@ -296,7 +296,8 @@ def rename():e, file = FileService.get_by_id(req["file_id"])if not e:return get_data_error_result(retmsg="File not found!")- if pathlib.Path(req["name"].lower()).suffix != pathlib.Path(+ if file.type != FileType.FOLDER.value \+ and pathlib.Path(req["name"].lower()).suffix != pathlib.Path(file.name.lower()).suffix:return get_json_result(data=False,