Project

General

Profile

Actions

Bug #7164

closed

Cannot create host if the domain name starts with "."

Added by Dominic Cleal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1131659
Description of problem:

Cannot create host if the domain name starts with "."

Version-Release number of selected component (if applicable):

How reproducible:
100%

Steps to Reproduce:
1. Create a new domain starting with "." (.mydomain.com)
2. Try to create a new host using the domain
3. webUI says invalid name

Actual results:

The webUI says the system name is invalid

Expected results:

The webUI should parse if the domain name starts with "."
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Category set to Host creation

I think the domain validation should be changed to prevent users adding a leading dot (perhaps trailing too, since I'm not sure we handle that, even if it is technically correct.)

Actions #2

Updated by Ori Rabin over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin
Actions #3

Updated by The Foreman Bot over 10 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.7.4
  • Pull request https://github.com/theforeman/foreman/pull/1704 added
  • Pull request deleted ()
Actions #4

Updated by Anonymous about 10 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #5

Updated by Ori Rabin about 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF