Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
slashes shouldn't be supported in hostnames #6
hey kyle! looks like brevity currently allows slashes in hostnames when detecting links:
>>> brevity.autolink('/var/www/doubleloop.net/public_html/xyz.php') u'/var/www/<a class="auto-link" href="http://doubleloop.net/public_html/xyz.php">doubleloop.net/public_html/xyz.php</a>'
this makes truncating interpret those strings as links, while twitter correctly doesn't.
thanks in advance! hope you're good!
...er, more precisely, it allows links directly after some punctuation chars that twitter doesn't, like
i did some testing. twitter evidently allows links to start after