Skip to content

Hostname format false positives #370

@srriverisland

Description

@srriverisland

Using draft-07 and this schema:

"host": {
  "type": "string",
  "format": "hostname"
}

I get false positives for various strings that should fail validation. Examples:

  • 192.168.3.7plop
  • 192wibble.168.3.7
  • flerp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions