summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/testdata/tests/production-test
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/cmd/testdata/tests/production-test')
-rw-r--r--client/go/cmd/testdata/tests/production-test/illegal-reference.json2
-rw-r--r--client/go/cmd/testdata/tests/production-test/illegal-uri.json14
2 files changed, 16 insertions, 0 deletions
diff --git a/client/go/cmd/testdata/tests/production-test/illegal-reference.json b/client/go/cmd/testdata/tests/production-test/illegal-reference.json
index edd8a2fafeb..ced4a86dd6c 100644
--- a/client/go/cmd/testdata/tests/production-test/illegal-reference.json
+++ b/client/go/cmd/testdata/tests/production-test/illegal-reference.json
@@ -2,11 +2,13 @@
"steps": [
{
"request": {
+ "uri": "https://domain.tld",
"body": "foo/../../../empty.json"
}
},
{
"request": {
+ "uri": "https://domain.tld",
"body": "foo/../../../../this-is-not-ok.json"
}
}
diff --git a/client/go/cmd/testdata/tests/production-test/illegal-uri.json b/client/go/cmd/testdata/tests/production-test/illegal-uri.json
new file mode 100644
index 00000000000..fe4fadfa93d
--- /dev/null
+++ b/client/go/cmd/testdata/tests/production-test/illegal-uri.json
@@ -0,0 +1,14 @@
+{
+ "steps": [
+ {
+ "request": {
+ "uri": "https://domain.tld/my-api"
+ }
+ },
+ {
+ "request": {
+ "uri": "/my-api"
+ }
+ }
+ ]
+} \ No newline at end of file