Redirect handling, in testThree in particular
joesb opened this issue · comments
I got a false positive when probing a .gov.uk TLD that is redirected to a www.gov.uk sub-page.
False positive came from testThree https://github.com/mikebell/drupalcheck/blob/master/src/DrupalCheck.php#L105-L139, in particular the Guzzle HEAD request in https://github.com/mikebell/drupalcheck/blob/master/src/DrupalCheck.php#L117
Domain is http://betterregulation.gov.uk which redirects any request on that domain to https://www.gov.uk/government/policies/business-regulation
The HEAD request returns the 200 code of the final destination, even though the path in the location of that page is not the /misc/drupal.js of the HEAD request.