Open rotj opened 2 years ago
Describe the bug Putting square brackets in a subject name prevents deletion or renaming of subject
To Reproduce Steps to reproduce the behavior:
Expected behavior Subject is deleted
Error: <!doctype html>
Desktop (please complete the following information):
Additional context I tried using curl with various ways to escape the brackets but that didn't work either. -X DELETE "http://localhost:8000/api/v1/recognition/subjects/%5Btest%5D" -X DELETE "http://localhost:8000/api/v1/recognition/subjects/\[test]"
thanks for reporting, I'll create a bug for this
please correct the bug. I have to delete the app and recreate to remove subjects with [ ] :(
Describe the bug Putting square brackets in a subject name prevents deletion or renaming of subject
To Reproduce Steps to reproduce the behavior:
Expected behavior Subject is deleted
Error: <!doctype html>
HTTP Status 400 – Bad Request
Desktop (please complete the following information):
Additional context I tried using curl with various ways to escape the brackets but that didn't work either. -X DELETE "http://localhost:8000/api/v1/recognition/subjects/%5Btest%5D" -X DELETE "http://localhost:8000/api/v1/recognition/subjects/\[test]"