Bug 17399

Summary: gnome-terminal incorrect URL highlighting
Product: [Retired] Red Hat Linux Reporter: mal
Component: gnome-coreAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-11 19:49:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mal 2000-09-10 21:23:13 UTC
gnome-terminal highlight an URL (shown in the terminal as underlined text).
The problem is that it does not do this correctly
in case URL has % symbol in it.
If you type in prompt
http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=aaa
and move mouse to this line the entire URL will be highlighted
but if you type
http://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=aaa%60&a=b&c=d
the symbols after % are just ignored, what is incorrect.
% is a standard way to encode symbols in URL.

Another thing, the URL is shown as it possible to click on it,
but if I click nothing happens.
Should a web browser be started?

Comment 1 Havoc Pennington 2000-09-11 03:40:30 UTC
Probably we just need to add % to the regular expression used to parse URLs in
gnome-terminal.c. You should be able to right-click on a URL to open it.

Comment 2 Nalin Dahyabhai 2000-09-11 19:49:17 UTC
A plain rightclick doesn't always work, but ctrl+rightclick does.

Comment 3 Elliot Lee 2001-02-01 01:02:28 UTC
This has since been fixed.