Project

General

Profile

Actions

Bug #1245

closed

API bug with search a dot in front of domain when pulling a host list returns the full hostlist of all hosts rather than matching the domain string

Added by Brian Gupta over 12 years ago. Updated over 12 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
Search
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The following query works and returns list of hosts in domain.com:
https://foreman.domain.com/hosts?search=domain.com"

but the slightly modified query below return a list of all hosts in the system (just a leading dot):
https://foreman.domain.com/hosts?search=.domain.com"


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Feature #945: foreman CLIClosedBrian Gupta05/26/2011Actions
Actions

Also available in: Atom PDF