schlagmichdoch / PairDrop

PairDrop: Transfer Files Cross-Platform. No Setup, No Signup.
https://pairdrop.net
GNU General Public License v3.0
4.4k stars 245 forks source link

[Bug] URL not clickable #258

Closed ueen closed 7 months ago

ueen commented 8 months ago

send https://m.youtube.com/watch?v=xxxx and its not clickable after receiving

schlagmichdoch commented 8 months ago

Here we go again.. The problem seems to be the subdomain with a length of one (m.youtube.com)

I think I will loosen the REGEX. GitHub marks a lot of things as a URLs and let's the clients browser decide if the URL is valid or not.

To test this I'll add your link to the test group:

www.test www.test.com https://test.com http://test.com https://test.com?auth=token&si=123 https://onedrive.live.com/?authkey=%dfdsssdf7LJSM3w&id=88ADFF5%21285&cid=2DC78C46388A4354 https://m.youtube.com/watch?v=xxxx https://theländ.de/

schlagmichdoch commented 8 months ago

Please test whether everything works as expected: https://pairdrop-dev.onrender.com/

schlagmichdoch commented 7 months ago

I have tested the dev instance on a lot of devices and it seems to work just fine. I’ll merge it later