From b28658d0414431d8b1265c5a12cdd70c4990f0c3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 25 Jun 2024 00:10:36 +0300 Subject: [PATCH 1/2] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6703ebb..34b9e0c 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ Network entities validation ## Integrations +* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI batch downloader for Gemini protocol * [web-api](https://github.com/YGGverse/web-api) - Network API with native Yggdrasil/IPv6 support * [Yo!](https://github.com/YGGverse/Yo) - Crawler and search engine for different networks * [Yoda](https://github.com/YGGverse/Yoda) - Experimental PHP-GTK browser for Gemini protocol -* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI downloader for Gemini protocol From 5ae447bcf0c0915aa9e1cb3ea45bc2b4aa78ddc9 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 11 Jul 2024 10:10:13 +0300 Subject: [PATCH 2/2] fix absolute address detection --- src/Address.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Address.php b/src/Address.php index d82756a..41d19c6 100644 --- a/src/Address.php +++ b/src/Address.php @@ -83,7 +83,9 @@ class Address public function isAbsolute(): bool { - return ($this->_scheme && $this->_host); + return boolval( + $this->_scheme || $this->_host + ); } public function isRelative(): bool