Bug 17399 - gnome-terminal incorrect URL highlighting
Summary: gnome-terminal incorrect URL highlighting
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-core
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-10 21:23 UTC by mal
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-09-11 19:49:19 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.