Onion links
w4t3r1ily opened this issue · comments
Realized LPP doesnt linkify onion links. Is that purpose or bug?
Can you provide some examples?
I just mean that something.onion doesn't turn into link the same way something.com does.
The script validates a URL by its top level domain. You can see a list here:
https://github.com/eight04/linkify-plus-plus-core/blob/master/lib/tlds.json
Since .onion
is not a valid domain, it won't be linkified.
Do onion links have the same format as regular URLs? If so then we can try adding .onion
to TLD list so they will be linkified as well.
Yes, I tried that and it works.
Onion links look like this: https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/