D7: Validate Hostname field value is a valid hostname

Created on 14 June 2023, about 1 year ago
Updated 27 June 2023, 12 months ago

Problem/Motivation

Follow up to πŸ“Œ D7: Don't prefill Hostname field with www.example.com Fixed . Users can have invalid values in the Hostname field so it would be good to check this.

Steps to reproduce

See πŸ“Œ D7: Don't prefill Hostname field with www.example.com Fixed .

Proposed resolution

Add some validation to check the Hostname value and show an error if it's not a good hostname.

Remaining tasks

  1. Update code
  2. Review and test
  3. Commit :)

User interface changes

If an invalid hostname is entered and the form is submitted, an error message will show up at the top of the form.

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024