- From: Marise Hayashi <notifications@github.com>
- Date: Thu, 19 Jul 2018 14:42:11 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 19 July 2018 21:42:33 UTC
Yep, I see. This behavior was just quite unexpected for me, because I used "new URL()" for link validation (lol) and it showed better results than any regular expression I found on the net. Also, implementation is useful when you are trying to construct full url from relative one. So when I passed a magnet link to it as a test case I expected "new URL()" to throw a TypeError, but it didn't and that's why I thought "was that made intentionally?". Thanks for your time anyway. Closing issue ^^ P.s: Yes, that's Chrome. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/403#issuecomment-406423306
Received on Thursday, 19 July 2018 21:42:33 UTC