RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.79k stars 10.72k forks source link

URL Preview Parser fails to parse URL containing – #8923

Open lunitic opened 7 years ago

lunitic commented 7 years ago

If someone paste a URL containing a – , then all the text up to the – sign will be interpreted

Steps to Reproduce:

  1. Paste the following URL https://en.wikipedia.org/wiki/Black–Scholes_mode

Expected behavior:

Whole URL to be processed.

Actual behavior:

The text up to the – sign will only be interpreted , not the whole URL

gabriellsh commented 4 years ago

Still happens 3.0.0-develop