Hyperlink/URL is not correctly recognized and opened #21922

Closed
opened 2026-01-31 07:58:26 +00:00 by claunia · 2 comments
Owner

Originally created by @jiasli on GitHub (Jul 1, 2024).

Windows Terminal version

1.20.11381.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

$ cat https://login.microsoftonline.com/.
cat: 'https://login.microsoftonline.com/.': No such file or directory

$ cat https://login.microsoftonline.com/:
cat: 'https://login.microsoftonline.com/:': No such file or directory

Expected Behavior

https://login.microsoftonline.com/ should be recognized and opened.

Actual Behavior

image

image

In the terminal windows, https://login.microsoftonline.com/ is underlined, but in the pop-up tooltips, https://login.microsoftonline.com/. and https://login.microsoftonline.com/: are shown.

After Ctrl + Click, https://login.microsoftonline.com/: is opened and results in an error:

image

Originally created by @jiasli on GitHub (Jul 1, 2024). ### Windows Terminal version 1.20.11381.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce ``` $ cat https://login.microsoftonline.com/. cat: 'https://login.microsoftonline.com/.': No such file or directory $ cat https://login.microsoftonline.com/: cat: 'https://login.microsoftonline.com/:': No such file or directory ``` ### Expected Behavior `https://login.microsoftonline.com/` should be recognized and opened. ### Actual Behavior ![image](https://github.com/microsoft/terminal/assets/4003950/82e90429-3332-4c3f-9f71-1e40602a6bad) ![image](https://github.com/microsoft/terminal/assets/4003950/3a3296b7-9fa2-4dbc-800d-d359704ad8e8) In the terminal windows, `https://login.microsoftonline.com/` is underlined, but in the pop-up tooltips, `https://login.microsoftonline.com/.` and `https://login.microsoftonline.com/:` are shown. After _Ctrl + Click_, `https://login.microsoftonline.com/:` is opened and results in an error: ![image](https://github.com/microsoft/terminal/assets/4003950/6bceef3e-de9f-4ed9-a232-8894b31f7697)
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:58:26 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 1, 2024):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to https://github.com/microsoft/terminal/issues/17323 for more discussion.

/dup #17323

This was also fixed in Windows Terminal v1.20.11781.0

@zadjii-msft commented on GitHub (Jul 1, 2024): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to https://github.com/microsoft/terminal/issues/17323 for more discussion. /dup #17323 This was also fixed in [Windows Terminal v1.20.11781.0](https://github.com/microsoft/terminal/releases/tag/v1.20.11781.0)
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Jul 1, 2024):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Jul 1, 2024): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21922