При использовании "плохих" названий файлов в API FIles возникают ошибки Internal Server Error 500 #10

Closed
opened 2025-03-27 10:15:47 +00:00 by syakusheva · 0 comments
Collaborator

При попытке создания файлов с названиями, включающими разнообразные пробельные и служебные символы, а также знаки пунктуации, приходит ответ 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%]

При попытке создания файлов с названиями, включающими разнообразные пробельные и служебные символы, а также знаки пунктуации, приходит ответ 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%]
syakusheva added the
bug
label 2025-03-27 10:15:47 +00:00
vpolezhaev added the
files
label 2025-04-10 14:57:04 +00:00
msgalynchik added the
status: fixed
label 2025-05-23 15:28:43 +00:00
Sign in to join this conversation.
No description provided.