Skip to content

Bug: single-letter subdomains not parsing in output #25732

Bug: single-letter subdomains not parsing in output #25732
Oct 13, 2021 · 4 answers

Github actions fails to parse single-letter subdomains (and single-letter domains, but that’s probably a much less common problem).

When you write a URL to standard out/err in a GitHub actions task, the UI parses it as a URL and makes the link clickable.

However, if the URL has a single letter subdomain, the parsing fails.

Here is an example run showing the problem. Open URL test and you’ll see that https://a.example.com fails to parse, along with a.co, but the URLs without single letter domains parse fine:

image

Single-letter subdomains are totally valid and should be parsed correctly. I created one for the express purpose of shortening URLs printed in GitHub actions, so this behavior bit me recently.

@travisdowns Thanks for submitting the feedback

We’ve deployed a change today that should correctly highlight single-letter subdomains in logs

Replies

4 suggested answers

You can report this bug to GitHub directly: Share feedback - GitHub Support

0 replies

Thanks, I’ve submitted it there as well.

0 replies

@travisdowns Thanks for submitting the feedback

We’ve deployed a change today that should correctly highlight single-letter subdomains in logs

0 replies
Answer selected

Thanks, it works!

Nice turnaround time, much appreciated.

0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants