OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
zzXpress
/
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:24 AM
rwxr-xr-x
📄
aws-region.json
726 bytes
01/07/2025 11:32:05 AM
rw-r--r--
📄
default-values.json
948 bytes
01/07/2025 11:32:05 AM
rw-r--r--
📄
eventbridge.json
1.1 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
fns.json
1.2 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
headers.json
490 bytes
01/07/2025 11:32:05 AM
rw-r--r--
📄
is-virtual-hostable-s3-bucket.json
3.78 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
local-region-override.json
527 bytes
01/07/2025 11:32:05 AM
rw-r--r--
📄
parse-arn.json
4.33 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
parse-url.json
3.58 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
partition-fn.json
3.24 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
substring.json
4.27 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
uri-encode.json
2.17 KB
01/07/2025 11:32:05 AM
rw-r--r--
📄
valid-hostlabel.json
1.22 KB
01/07/2025 11:32:05 AM
rw-r--r--
Editing: parse-url.json
Close
{ "version": "1.0", "testCases": [ { "documentation": "simple URL parsing", "params": { "Endpoint": "https://authority.com/custom-path" }, "expect": { "endpoint": { "url": "https://https-authority.com.example.com/path-is/custom-path" } } }, { "documentation": "empty path no slash", "params": { "Endpoint": "https://authority.com" }, "expect": { "endpoint": { "url": "https://https-authority.com-nopath.example.com" } } }, { "documentation": "empty path with slash", "params": { "Endpoint": "https://authority.com/" }, "expect": { "endpoint": { "url": "https://https-authority.com-nopath.example.com" } } }, { "documentation": "authority with port", "params": { "Endpoint": "https://authority.com:8000/port" }, "expect": { "endpoint": { "url": "https://authority.com:8000/uri-with-port" } } }, { "documentation": "http schemes", "params": { "Endpoint": "http://authority.com:8000/port" }, "expect": { "endpoint": { "url": "http://authority.com:8000/uri-with-port" } } }, { "documentation": "arbitrary schemes are not supported", "params": { "Endpoint": "acbd://example.com" }, "expect": { "error": "endpoint was invalid" } }, { "documentation": "host labels are not validated", "params": { "Endpoint": "http://99_ab.com" }, "expect": { "endpoint": { "url": "https://http-99_ab.com-nopath.example.com" } } }, { "documentation": "host labels are not validated", "params": { "Endpoint": "http://99_ab-.com" }, "expect": { "endpoint": { "url": "https://http-99_ab-.com-nopath.example.com" } } }, { "documentation": "invalid URL", "params": { "Endpoint": "http://abc.com:a/foo" }, "expect": { "error": "endpoint was invalid" } }, { "documentation": "IP Address", "params": { "Endpoint": "http://192.168.1.1/foo/" }, "expect": { "endpoint": { "url": "http://192.168.1.1/foo/is-ip-addr" } } }, { "documentation": "IP Address with port", "params": { "Endpoint": "http://192.168.1.1:1234/foo/" }, "expect": { "endpoint": { "url": "http://192.168.1.1:1234/foo/is-ip-addr" } } }, { "documentation": "IPv6 Address", "params": { "Endpoint": "https://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:443" }, "expect": { "endpoint": { "url": "https://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:443/is-ip-addr" } } }, { "documentation": "weird DNS name", "params": { "Endpoint": "https://999.999.abc.blah" }, "expect": { "endpoint": { "url": "https://https-999.999.abc.blah-nopath.example.com" } } }, { "documentation": "query in resolved endpoint is not supported", "params": { "Endpoint": "https://example.com/path?query1=foo" }, "expect": { "error": "endpoint was invalid" } } ] }