URI parsing regular expression incorrectly parses uris like http://example.com/?text=@fake.com as http://fake.com. It seems due to outdated regular expression, so I've updated it from jsUri referenced inside the code. Comparing to the original I removed isColonUri group, since it isn't used here.
P.S. Tests are failing for me in the main branch as well.
URI parsing regular expression incorrectly parses uris like
http://example.com/?text=@fake.com
ashttp://fake.com
. It seems due to outdated regular expression, so I've updated it from jsUri referenced inside the code. Comparing to the original I removedisColonUri
group, since it isn't used here.P.S. Tests are failing for me in the main branch as well.