Closed ricellis closed 3 years ago
CHANGES.md
Add validation for doc ID and attachment names
Use an invalid document ID or attachment name.
The request to fail.
The request is passed to the server.
Add validation to functions that access document IDs or attachments to prevent clash with system paths.
CloudantDocumentException
Checklist
CHANGES.md
) or test/build only changesDescription
Add validation for doc ID and attachment names
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
Use an invalid document ID or attachment name.
2. What you expected to happen
The request to fail.
3. What actually happened
The request is passed to the server.
Approach
Add validation to functions that access document IDs or attachments to prevent clash with system paths.
Schema & API Changes
CloudantDocumentException
with code 103 thrown for invalid IDs.Security and Privacy
Testing
Monitoring and Logging