question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AutoLink extension links invalid protocol-only (no host) URIs

See original GitHub issue

It 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 ]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
peckjoncommented, Aug 31, 2017

Wow that was fast @robinst – I see https://github.com/robinst/autolink-java/issues/15 is already fixed!

Thanks for being awesome. Closing out.

0reactions
peckjoncommented, Sep 19, 2017

Awesome, Robin! Thanks!!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found