OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress
/
vendor
/
aws
/
aws-sdk-php
/
tests
/
EndpointV2
/
test-cases
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
aws-region.json
726 bytes
03/05/2025 10:56:42 AM
rw-r--r--
📄
default-values.json
948 bytes
03/05/2025 10:56:42 AM
rw-r--r--
📄
eventbridge.json
1.1 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
fns.json
1.2 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
headers.json
490 bytes
03/05/2025 10:56:42 AM
rw-r--r--
📄
is-virtual-hostable-s3-bucket.json
3.78 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
local-region-override.json
527 bytes
03/05/2025 10:56:42 AM
rw-r--r--
📄
parse-arn.json
4.33 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
parse-url.json
3.58 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
partition-fn.json
3.24 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
substring.json
4.27 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
uri-encode.json
2.17 KB
03/05/2025 10:56:42 AM
rw-r--r--
📄
valid-hostlabel.json
1.22 KB
03/05/2025 10:56:42 AM
rw-r--r--
Editing: substring.json
Close
{ "version": "1.0", "testCases": [ { "documentation": "substring when string is long enough", "params": { "TestCaseId": "1", "Input": "abcdefg" }, "expect": { "error": "The value is: `abcd`" } }, { "documentation": "substring when string is exactly the right length", "params": { "TestCaseId": "1", "Input": "abcd" }, "expect": { "error": "The value is: `abcd`" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "1", "Input": "abc" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "1", "Input": "" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring on wide characters (ensure that unicode code points are properly counted)", "params": { "TestCaseId": "1", "Input": "\ufdfd" }, "expect": { "error": "No tests matched" } }, { "documentation": "unicode characters always return `None`", "params": { "TestCaseId": "1", "Input": "abcdef\uD83D\uDC31" }, "expect": { "error": "No tests matched" } }, { "documentation": "non-ascii cause substring to always return `None`", "params": { "TestCaseId": "1", "Input": "abcdef\u0080" }, "expect": { "error": "No tests matched" } }, { "documentation": "the full set of ascii is supported, including non-printable characters", "params": { "TestCaseId": "1", "Input": "\u007Fabcdef" }, "expect": { "error": "The value is: `\u007Fabc`" } }, { "documentation": "substring when string is long enough", "params": { "TestCaseId": "2", "Input": "abcdefg" }, "expect": { "error": "The value is: `defg`" } }, { "documentation": "substring when string is exactly the right length", "params": { "TestCaseId": "2", "Input": "defg" }, "expect": { "error": "The value is: `defg`" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "2", "Input": "abc" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "2", "Input": "" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring on wide characters (ensure that unicode code points are properly counted)", "params": { "TestCaseId": "2", "Input": "\ufdfd" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring when string is longer", "params": { "TestCaseId": "3", "Input": "defg" }, "expect": { "error": "The value is: `ef`" } }, { "documentation": "substring when string is exact length", "params": { "TestCaseId": "3", "Input": "def" }, "expect": { "error": "The value is: `ef`" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "3", "Input": "ab" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring when string is too short", "params": { "TestCaseId": "3", "Input": "" }, "expect": { "error": "No tests matched" } }, { "documentation": "substring on wide characters (ensure that unicode code points are properly counted)", "params": { "TestCaseId": "3", "Input": "\ufdfd" }, "expect": { "error": "No tests matched" } } ] }