Bug #4268
closed
Spoof by hostname still searches by an empty IP and returns the wrong host
Added by Dominic Cleal about 11 years ago.
Updated over 6 years ago.
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).
- Related to Feature #359: Add support for 'hostname=<hostname>' spoofing for Unattended Installs added
- Status changed from Assigned to Ready For Testing
- Target version changed from 1.9.2 to 1.9.1
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Has duplicate Bug #4382: Spoof by hostname does not work if there is a host without an IP address added
Also available in: Atom
PDF