From d15532210130f6f2914110cbcc050d3453c0a689 Mon Sep 17 00:00:00 2001 From: Benjamin Young Date: Wed, 24 Apr 2024 14:08:47 -0400 Subject: [PATCH] Prevent `@vocab` catch-all. The `@vocab` catch-all would mean that any compliant processor would always only ever create URLs...even it invalid. Setting `@vocab` to `null` should prevent that...which should cause a rejection. --- tests/input/credential-type-unmapped-fail.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/input/credential-type-unmapped-fail.json b/tests/input/credential-type-unmapped-fail.json index 30ba08b..b4c93e6 100644 --- a/tests/input/credential-type-unmapped-fail.json +++ b/tests/input/credential-type-unmapped-fail.json @@ -1,6 +1,7 @@ { "@context": [ - "https://www.w3.org/ns/credentials/v2" + "https://www.w3.org/ns/credentials/v2", + {"@vocab": null} ], "type": [ "VerifiableCredential",