При использовании "плохих" названий файлов в API FIles возникают ошибки Internal Server Error 500 #10
Labels
No labels
api-component
bug
catalogue
complex-pipeline
consistency
databox
documentation
duplicate
experiment-pipeline
files
invalid
ml-component
platform-app
question
security
status: fixed
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mlops_platform/documentation#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
При попытке создания файлов с названиями, включающими разнообразные пробельные и служебные символы, а также знаки пунктуации, приходит ответ Internal Server Error 500
Данные ошибки были и при использовании версии 0.3.4, и при использовании более новой версии.
Тестирование проводдилось на стенде staging
Код тестов здесь https://platform-forgejo.stratpro.hse.ru/mlops_platform_testing/api_tests/src/branch/main/version_0_3_6/run_api_files_tests.py
Примеры:
run_api_files_tests.py::test_negative_post_request_random_files[] FAILED [ 79%]
run_api_files_tests.py::test_negative_post_request_random_files[ ] FAILED [ 80%]
run_api_files_tests.py::test_negative_post_request_random_files[.] FAILED [ 81%]
run_api_files_tests.py::test_negative_post_request_random_files[!"#$%&'()+,-./:;<=>?@[\]^_
{|}~] FAILED [ 84%] run_api_files_tests.py::test_negative_post_request_random_groups_root[ ] FAILED [ 85%] run_api_files_tests.py::test_negative_post_request_random_groups_root[*] FAILED [ 86%] run_api_files_tests.py::test_negative_post_request_random_groups_root[ \t\n\r\x0b\x0c] FAILED [ 88%] run_api_files_tests.py::test_negative_post_request_random_groups_root[!"#$%&'()*+,-./:;<=>?@[\\]^_
{|}~] FAILED [ 89%]run_api_files_tests.py::test_negative_post_request_random_groups[ ] FAILED [ 90%]
run_api_files_tests.py::test_negative_post_request_random_groups[] FAILED [ 91%]
run_api_files_tests.py::test_negative_post_request_random_groups[ \t\n\r\x0b\x0c] FAILED [ 92%]
run_api_files_tests.py::test_negative_post_request_random_groups[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~] FAILED [ 93%]