URL detection: False positive for links where port number contains non-numeric characters #14571

Open
opened 2026-01-31 04:13:54 +00:00 by claunia · 0 comments
Owner

Originally created by @Sominemo on GitHub (Jul 18, 2021).

Windows Terminal version (or Windows build number)

1.9.1942.0

Other Software

No response

Steps to reproduce

  1. Make a terminal display a described link, for example https://example.com:test
  2. Hover on link

Expected Behavior

Only the https://example.com part is being underlined, since it's correct

Actual Behavior

The whole https://example.com:test is being underlined, despite it being a non-valid URL.
image

Originally created by @Sominemo on GitHub (Jul 18, 2021). ### Windows Terminal version (or Windows build number) 1.9.1942.0 ### Other Software _No response_ ### Steps to reproduce 1. Make a terminal display a described link, for example `https://example.com:test` 2. Hover on link ### Expected Behavior Only the `https://example.com` part is being underlined, since it's correct ### Actual Behavior The whole `https://example.com:test` is being underlined, despite it being a non-valid URL. ![image](https://user-images.githubusercontent.com/19842935/126072922-fd36fe97-0b89-4e4d-b99b-9802c48226ce.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:13:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14571