Infinite redirect bug in domain mapping when logging into subblog


When the user attempts to login via:


An infinite redirector occurs going back and forth between http and https

in file: domain-mapping/classes/Domainmap/Module/Mapping.php

If I comment out lines 621 and 622 it disables the re-direct and the user can access the admin section

Please review the redirect code....this looks like to be major problem.