Sometimes a service requires empty verification file and it is impossible to create such file with Site Verification module, because the module prints "Verification page" instead of empty verification file.

Patch follows.

CommentFileSizeAuthor
#1 site_verify-1694022-1.patch1.09 KBDmitriy.trt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dmitriy.trt’s picture

Status: Active » Needs review
FileSize
1.09 KB
cweagans’s picture

Issue summary: View changes

Correct module name

Chris Matthews’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs reroll, +Needs rework

The 6 year old patch to site_verify.module does not apply to the latest 7.x-1.x-dev and may be too old to reroll, but I went ahead and tagged the issue accordingly.

Checking patch site_verify.module...
error: while searching for:

function site_verify_output($svid) {
  $verification = site_verify_load($svid);
  if ($verification['file_contents'] && $verification['engine']['file_contents']) {
    echo $verification['file_contents'];
  }
  else {
    drupal_set_title(t('Verification page'));
    return t('This is a verification page for the @title search engine.', array('!title' => $verification['engine']['name']));
  }
}

error: patch failed: site_verify.module:177
error: site_verify.module: patch does not apply