diff --git a/composer.json b/composer.json index 78806a4..8b0186e 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "require": { "php": "^8.1", - "yggverse/parser": ">=0.3.0", + "yggverse/parser": ">=0.4.0", "jdenticon/jdenticon": "^1.0" }, "license": "MIT", diff --git a/src/public/action.php b/src/public/action.php index 9c7317a..35ec9a6 100644 --- a/src/public/action.php +++ b/src/public/action.php @@ -447,8 +447,7 @@ switch (isset($_GET['target']) ? urldecode($_GET['target']) : false) case 2: - // @TODO temporarily disabled because of address too long error in some clients - // $xt[] = sprintf('xt=urn:btmh:%s', $infoHash->value); + $xt[] = sprintf('xt=urn:btmh:1220%s', $infoHash->value); break; }