Skip to content

Commit 935f896

Browse files
Zetao YangZetao Yang
authored andcommitted
修复<a href="2">2</a>这类型获取到的url不对的bug
1 parent 0f01928 commit 935f896

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/phpspider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,9 @@ public function fill_url($url, $collect_url)
15501550
}
15511551
else
15521552
{
1553+
$arr = explode("/", $base_url_path);
1554+
array_pop($arr);
1555+
$base_url_path = implode("/", $arr);
15531556
$url = $base_url_path.'/'.$url;
15541557
}
15551558
}

0 commit comments

Comments
 (0)