From d312af2975fe8127adc118b1edc80bd2c54e5f79 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Thu, 7 Mar 2024 15:35:03 +1000 Subject: [PATCH] HMS-3429: remove RealmName pattern KerberosRealm is defined in RFC 4120 as: ``` KerberosString ::= GeneralString (IA5String) Realm ::= KerberosString ``` So any ASCII string is valid. Remove the regex pattern which is too tight. Related: https://issues.redhat.com/browse/HMS-3429 --- public.openapi.json | 1 - public.openapi.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/public.openapi.json b/public.openapi.json index dd536ed..56cf3c0 100644 --- a/public.openapi.json +++ b/public.openapi.json @@ -1433,7 +1433,6 @@ "format": "realm", "maxLength": 253, "minLength": 3, - "pattern": "^[A-Z0-9\\.\\-]+$", "x-rh-ipa-hcc": { "type": "defs" }, diff --git a/public.openapi.yaml b/public.openapi.yaml index 6a01275..79433a5 100644 --- a/public.openapi.yaml +++ b/public.openapi.yaml @@ -1034,7 +1034,6 @@ components: format: realm maxLength: 253 minLength: 3 - pattern: ^[A-Z0-9\.\-]+$ x-rh-ipa-hcc: type: defs example: DOMAIN.EXAMPLE