Allow underscore character in domain host name

Created on 16 November 2023, 7 months ago
Updated 27 November 2023, 7 months ago

Drupal Version

10.1.6

Domain module version

2.0.0-beta1

Expected Behavior

Would like to add hostname with underscores in it.

Actual Behavior

Says:

Only alphanumeric characters, dashes, and a colon are allowed.

Steps to reproduce

Just try to create a domain with underscore in its hostname.

Is there a specific reason for forbidding underscore in domain host names?

I know that you can allow non ascii characters to circumvent this problem, so it's not blocking.

✨ Feature request
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France mably

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

Comments & Activities

Production build 0.69.0 2024