Project

General

Profile

Actions

Bug #8878

closed

Domains are being added with case sensitivity

Added by Joey D almost 10 years ago. Updated over 6 years ago.

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

Description

If a resolver has a client's domain cached in CAPS, foreman will interpret that as a new domain when the client checks in and provides it's latest facts (resulting in potential extra domains of: caps.net, CAPS.net, caps.NET, and CAPS.net). This in turn will effect any matchers that are dependent upon 'domain =~'. This issue was patched in a previous version of foreman (see Bug #708), although it seems to have re-surfaced.

It looks as if the import_host_facts function in models/host/managed.rb is in fact changing the hostname to all lowercase, but this isn't the case for the domain.

Actions #1

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2058 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Category set to Host creation
  • Assignee set to Joey D
  • Translation missing: en.field_release deleted (30)
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Translation missing: en.field_release set to 28
Actions #4

Updated by Joey D over 9 years ago

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

Also available in: Atom PDF