You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `fqdn` library used to provide `"hostname"` format validation
(when installed) does not properly handle some known inputs,
including `""` and `"."`.
On these strings, the library improperly emits `ValueError`.
Given that the library no longer appears to be receiving updates,
there are two potential workarounds in `jsonschema`:
1. add `ValueError` handling via `raises=...`
2. add explicit handling for known patterns before calling out to
`fqdn`
This changeset implements (1) only, adding handling for `ValueError`.
New test cases are added for `""` and `"."`.
resolves#1121
0 commit comments