@@ -292,12 +292,14 @@ address = components.firstObject; hosts = [components objectsInRange: OFMakeRange(1, components.count - 1)]; for (OFString *host in hosts) { - OFMutableArray *addresses = - [staticHosts objectForKey: host]; + OFMutableArray *addresses; + + host = host.lowercaseString; + addresses = [staticHosts objectForKey: host]; if (addresses == nil) { addresses = [OFMutableArray array]; [staticHosts setObject: addresses forKey: host]; } @@ -500,12 +502,14 @@ address = components.firstObject; hosts = [components objectsInRange: OFMakeRange(1, components.count - 1)]; for (OFString *host in hosts) { - OFMutableArray *addresses = - [staticHosts objectForKey: host]; + OFMutableArray *addresses; + + host = host.lowercaseString; + addresses = [staticHosts objectForKey: host]; if (addresses == nil) { addresses = [OFMutableArray array]; [staticHosts setObject: addresses forKey: host]; }