From d17d40203cff4a65fdda19b2b29f7d710ace60df Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 29 May 2021 00:51:51 +0300 Subject: [PATCH] Improve t.me links test. --- test/link.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/link.cpp b/test/link.cpp index 62ab77720..704a898b8 100644 --- a/test/link.cpp +++ b/test/link.cpp @@ -107,6 +107,7 @@ TEST(Link, parse_internal_link) { parse_internal_link("www%2Etelegram.dog/levlam/1", message()); parse_internal_link("www%252Etelegram.dog/levlam/1", nullptr); parse_internal_link("www.t.me/s/s/s/s/s/joinchat/1", chat_invite()); + parse_internal_link("www.t.me/s/%73/%73/s/%73/joinchat/1", chat_invite()); parse_internal_link("http://t.me/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/joinchat/1", chat_invite()); parse_internal_link("http://t.me/levlam/1", message()); parse_internal_link("https://t.me/levlam/1", message());