URL Detection Faulty #22444

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

Originally created by @TheUnlimited64 on GitHub (Oct 23, 2024).

Windows Terminal version

1.20.11781.0

Windows build number

10.0.22631.0

Other Software

Hey,

the URL detection seems to be a bit buggy in my case its about following example:

https://foo/bar?foo[bar]=1

In vscode the whole string is interpreted as an url, but in the Windows terminal only https://foo/bar?foo part is recognized as an url

Steps to reproduce

  1. print a link

echo "https://foo/bar?foo[bar]=1"

  1. Hover with ctrl over the link

Expected Behavior

The whole string is interpreted as an url.

Actual Behavior

If the bracket notation is used, the part after it will get cut off

Originally created by @TheUnlimited64 on GitHub (Oct 23, 2024). ### Windows Terminal version 1.20.11781.0 ### Windows build number 10.0.22631.0 ### Other Software Hey, the URL detection seems to be a bit buggy in my case its about following example: `https://foo/bar?foo[bar]=1` In vscode the whole string is interpreted as an url, but in the Windows terminal only `https://foo/bar?foo` part is recognized as an url ### Steps to reproduce 1. print a link `echo "https://foo/bar?foo[bar]=1" ` 2. Hover with ctrl over the link ### Expected Behavior The whole string is interpreted as an url. ### Actual Behavior If the bracket notation is used, the part after it will get cut off
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 08:13:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22444