Skip to content

Commit

Permalink
修复<a href="2">2</a>这类型获取到的url不对的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetao Yang authored and Zetao Yang committed Oct 16, 2017
1 parent 0f01928 commit 935f896
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/phpspider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1550,6 +1550,9 @@ public function fill_url($url, $collect_url)
}
else
{
$arr = explode("/", $base_url_path);
array_pop($arr);
$base_url_path = implode("/", $arr);
$url = $base_url_path.'/'.$url;
}
}
Expand Down

0 comments on commit 935f896

Please sign in to comment.