function domain_check_response($domain, $drush = FALSE) {
  if (variable_get('domain_skip_domain_check', 0)) {
    return t('Domain response checks have been disabled. Saving an incorrect domain may affect your site.');
  }
  $url = domain_get_path($domain) . drupal_get_path('module', 'domain') . '/tests/200.png';

If on my development server I am in a subfolder, eg localhost/drupalfolder/ then the check of the remote domain will also use this, and will check http://mydomain.com/drupalfolder/sites/all/modules/contrib/domain/tests/.... This might not be the case!

Comments

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

This is actually how I do development (example.com/drupal-7 is my root dir), so I don't see an issue here. The test works as designed.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)