From b0f259eff213214d08346cfb4789439d526a9790 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 29 Mar 2021 19:32:54 -0700 Subject: in safe-mode, allow index API methods without trailing slash If we allowed this in `unsafe_all_indices`, then all top-level API methods would be available, which we don't want. --- tests/files/other_fail/GET_mapping_noslash.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/files/other_fail/GET_mapping_noslash.txt (limited to 'tests/files/other_fail/GET_mapping_noslash.txt') diff --git a/tests/files/other_fail/GET_mapping_noslash.txt b/tests/files/other_fail/GET_mapping_noslash.txt new file mode 100644 index 0000000..30ff58c --- /dev/null +++ b/tests/files/other_fail/GET_mapping_noslash.txt @@ -0,0 +1 @@ +GET /some-index -- cgit v1.2.3