URL-clicking includes trailing no-break space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-terminal (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The dingus URL-identification for ctrl-clicking on URLs will currently include a trailing no-break space (NBSP) character if there happens to be one following the URL. This breaks the URL from loading in, for example, Firefox.
For example, I'm reading an e-mail in Mutt (in Gnome Terminal) which includes “the www.directboati
Moving the mouse over that domain name underlines from “www” to the NBSP inclusive, and ctrl-clicking on it sends the domain name plus NBSP to Firefox, which then fails to resolve the hostname until the NBSP is removed from the URL bar.
I don't think a valid URL would ever contain an NBSP character. Please can we trim URLs before them, rather than after?
Thanks.