Update to the function which determines the "top level domain" to support multisite installations which utilize domain mapping; avoids unintended redirects for legitimate POSTs on wp-login.php
Merge pull request #97 from boboudreau/master

Update to the function which determines the "top level domain".