Actions
Bug #4268
closedSpoof by hostname still searches by an empty IP and returns the wrong host
Description
When accessing a spoof URL by hostname (e.g. /unattended/PXELinux?hostname=foo.example.com), the code tries to retrieve an IP and hostname from params, then searches by IP and hostname. If only the hostname was given, it does a find_by_ip(nil), which may return a host (not the right one).
Updated by Dominic Cleal almost 11 years ago
- Related to Feature #359: Add support for 'hostname=<hostname>' spoofing for Unattended Installs added
Updated by Dominic Cleal almost 11 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous almost 11 years ago
- Target version changed from 1.9.2 to 1.9.1
Updated by Dominic Cleal almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 1e0fd283180dc6bda30c880898cdea69cb579194.
Updated by Dominic Cleal over 10 years ago
- Has duplicate Bug #4382: Spoof by hostname does not work if there is a host without an IP address added
Actions