Closed robinst closed 7 years ago
See https://github.com/atlassian/commonmark-java/issues/99, the following examples should not result in any links:
http://. http://" http://<space>
Note that http:// and http://. are valid URLs according to RFC 3986, because authority can be zero or more unreserved characters. But we don't autolink http:// on its own or the trailing . of http://example.org.
http://
http://.
authority
unreserved
.
http://example.org.
Pushed a fix, but keeping this open until I've released it.
Released in 0.7.0: https://github.com/robinst/autolink-java/blob/master/CHANGELOG.md#070---2017-08-31
See https://github.com/atlassian/commonmark-java/issues/99, the following examples should not result in any links:
Note that
http://
andhttp://.
are valid URLs according to RFC 3986, becauseauthority
can be zero or moreunreserved
characters. But we don't autolinkhttp://
on its own or the trailing.
ofhttp://example.org.