This is the only instance of the text 'url' in the module, so it certainly looks like a mistake.

Based on the comment, I suspect that $purge_request_result['url'] should be $purge_request_result['proxy_url'].

      // Collect all proxy hosts that are blocking the url requests
      case 405:
        $purge_error_log[] = $purge_request_result['purge_url'] . ' on ' . $purge_request_result['proxy_url'] . ' Forbidden';
        $purge_blocking[] = parse_url($purge_request_result['url'], PHP_URL_HOST);
        break;
CommentFileSizeAuthor
#1 purge-blocking_url-1953780.patch639 bytesjweowu

Comments

jweowu’s picture

StatusFileSize
new639 bytes

After checking the subsequent usage of the $purge_blocking array, this change definitely looks correct to me, so: patched.

SqyD’s picture

Status: Needs review » Fixed

Thanks for the fix and patch. Commited to 7.x-1.x and 7.x-2.x branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.