What else has been done to verify that this works as intended?
Passed all unit tests
Manual testing
Why is this the best possible solution? Were any other approaches considered?
Using express.js middleware to filter URL, as @MartijnR suggests.
Simple yet working solultion.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
None.
Do we need any specific form for testing your changes? If so, please attach one.
Closes #204 and https://jira.openclinica.com/browse/OC-22815
I have verified this PR works with
What else has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
None.
Do we need any specific form for testing your changes? If so, please attach one.
Just usual form with file upload item.