Skip to content

url validation too restrictive for local testing #127

Description

@dennisvang

The traindhandler forms URI fields and url fields use the vuelidate url validator:

name: 'uri',
label: 'URI',
rules: { required, url },

This validator requires the presence of a top level domain, i.e. a dot ., followed by two or more characters.

Unfortunately, this excludes the use of e.g. http://localhost:8080.

(note that the port is allowed by the validator, but there is no top level domain)

As a result, we cannot specify a localhost endpointUrl for local testing.

When running from source, we can disable the validator temporarily, but that is not an option when running in a local docker container, e.g. in FDS-demo-deployment.

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