Skip to content

Commit

Permalink
Merge pull request #32 from jolicode/welcoMattic-patch-1
Browse files Browse the repository at this point in the history
Trim final # in URIs
  • Loading branch information
joelwurtz committed May 15, 2018
2 parents f5c9cef + ae1fd59 commit 0d1031a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SmokerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public function smokeTest($data)

foreach ($links as $link) {
$uri = $link->getUri();
$fragment = parse_url($uri, PHP_URL_FRAGMENT);
$uri = str_replace('#' . $fragment, '', $uri);

if ($this->hasReachedDiscoveryLimit($discovery)) {
return;
Expand Down

0 comments on commit 0d1031a

Please sign in to comment.