Skip to content

Add validation to IDs included in dataset params #47

@dmgaldi

Description

@dmgaldi

Overview

We've recently had invalid files uploaded as dataset parameters in our WDK sites. These have not been rejected in validation, causing issues downstream. We would like to add basic validation to ensure IDs are restricted to the following characters:

  • [0-9]
  • [a-zA-Z]
  • .
  • -
  • _
  • :
  • (
  • )

We could alternatively wire up a regex parameter in the WDK model, though this would be a more considerable effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions