downhash use dot instead of solid line

This commit is contained in:
xiaomlove
2024-12-24 01:10:48 +08:00
parent 2ca703c8df
commit d8ce2bd638
8 changed files with 15 additions and 12 deletions

View File

@@ -101,9 +101,9 @@ class Test extends Command
*/
public function handle()
{
$torrent = Torrent::query()->find(12, ['info_hash']);
$infoHash = $torrent->info_hash;
dd($infoHash === rawurldecode("%15%24%f3%e6%91e%f6%fbT%be%3f%b8%f3%f7_%f5%f6%aa%3fv"));
$str = "1.abc.de";
$res = explode(".", $str, 2);
dd($res);
}
}