Try our conversational search powered by Generative AI!

URL field: Validation error if URL contains hyphen

Found in

EPiServer.Forms 4.7.0

Fixed in

EPiServer.Forms 4.9.0

(Or a related package)

Created

Sep 25, 2017

Updated

Nov 27, 2017

State

Closed, Fixed and tested


Description

The URL-field of Episerver.Forms gives a validation error when the URL contains a hyphen, for example https://asker-skiklubb.no/.

Steps to reproduce:

  1. Create a Episerver.Forms container.
  2. Add a URL field and a submit button.
  3. Display the form.
  4. Input an URL with hyphen in the URL-field.
  5. Click the submit-button.

Expected: No problems
Actual: Validation error.