AutoLink extension links invalid protocol-only (no host) URIs
See original GitHub issueIt is common to type only “http://” (not followed by any hostname etc) in the process of creating technical documentation.
The AutoLink extension incorrectly attempts to link these, resulting in ugly documentation.
URIs are invalid without a host portion:
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
authority = [ userinfo "@" ] host [ ":" port ]
- https://tools.ietf.org/html/rfc3986#appendix-A (brackets indicate optionality)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
AutoLink extension links invalid protocol-only (no host) URIs #99
It is common to type only "http://" (not followed by any hostname etc) in the process of creating technical documentation. The AutoLink ......
Read more >Server Administration Guide - Keycloak
Token mappers - Map user attributes, roles, etc. how you want into tokens and statements. Not-before revocation policies per realm, application ...
Read more >Advanced Search - Regular Expression Library
Verifies URLs. Checks for the leading protocol, a good looking domain (two or three letter TLD; no invalid characters in domain) and a...
Read more >Server Administration Guide Red Hat Single Sign-On 7.4
If no entry is entered, the host part of the base URL of Red Hat Single Sign-On's server is adapted. For more details,...
Read more >Cisco AnyConnect Secure Mobility Client Administrator Guide ...
Connections to the ASA Fail (Kaspersky AV Workstation 6.x) 299. No UDP DTLS Connection (McAfee Firewall 5) 299. Connection to the Host Device...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow that was fast @robinst – I see https://github.com/robinst/autolink-java/issues/15 is already fixed!
Thanks for being awesome. Closing out.
Awesome, Robin! Thanks!!