gregjacobs / Autolinker.js

Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
MIT License
1.48k stars 238 forks source link

double dots in querystring #215

Closed giammin closed 6 years ago

giammin commented 7 years ago

link with double dots query string (key or value) are not recognized. EX: https://www.google.it/search?q=autolink.js&oq=autolink.js&aqs=chrome..69i57j0l4.5161j0j7&sourceid=chrome&ie=UTF-8

or

https://www.google.it/search?q=autolink.js&oq=autolink.js&aqs=chrome..69i57j0l4.5161j0j7&sourceid=chrome&ie=UTF-8#newwindow=1&q=autolink.js

those link are from chrome address bar searches

asssaf commented 7 years ago

this happens in the path too, not just the query sting http://www.example.com/path/aa..0

aprilandjan commented 6 years ago

This also happened in gitlab branch compare url such as https://gitlab.example.com/space/repo/compare/master...develop

StevenYuysy commented 6 years ago

fixed in https://github.com/gregjacobs/Autolinker.js/pull/225