Project

General

Profile

Actions

Bug #5646

closed

The search for hostname is case sensitive whereas a hostname is case insensitive

Added by Benoît PECCATTE over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

This is present in the filter and in the query based search on hostname.

Actions #1

Updated by François ARMAND over 9 years ago

  • Subject changed from The search for hostname is case sensitive whereas a hostname is case insensitivé to The search for hostname is case sensitive whereas a hostname is case insensitive
Actions #2

Updated by François ARMAND over 9 years ago

I can't reproduce that on any of:

1/ in search screen, the "filter" input for filtering results
2/ in search screen, the hostname = .... search criterium
3/ in search screen, the "quick search" input
4/ in node list, the "filter" input

In 2.6, 2.10 and 2.11 (where it's applying).

There IS case sensitivity with the regex input (hostname "like regex" ....).

This can be workedaround with using the case insentivity regex modifier (?i) like that:

Hostname -> Regex -> CENTOS.*  > not results
Hostname -> Regex -> (?i)CENTOS.* > results for centos.*

(see also http://www.rudder-project.org/rudder-doc-2.11/rudder-doc.html#advanced-search for reference about authorized patterns in regex)

I'm not sure about what should be done. It seems that for some fields, like hostname, case insensitivity should be the default in regex, even if it forbids case sensitive regex search.

Actions #3

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from New to Rejected

I cannot reproduce either, maybe it was a typing error.

Actions

Also available in: Atom PDF