GNOME Bugzilla – Bug 114597
[PATCH] URL regexp shouldn't match newline
Last modified: 2004-12-22 21:47:04 UTC
In Bugzilla mail the URL for 'Created an attachment' are within '(' and ')', with no text after the ')', example: --> (http://bugzilla.mozilla.org/attachment.cgi?id=123&action=view) When viewing such a mail in Mutt (CLI mailer), gnome-terminal thinks the ')' is part of the URL. This is because the regexp matches a newline. To reproduce (using only a shell): 1. Open a new gnome-terminal window 2. Type in: echo '(http:///a.b.c/defghi) foobar' 3. Press Enter 4. Mouse the mouse over 'defghi' -- http://a.b.c/defghi is underscored 5. Type in: echo '(http:///a.b.c/jklmno)' 6. Press Enter 7. Mouse the mouse over 'jklmno' Expected result: http:///a.b.c/jklmno is underscored Actual result: http:///a.b.c/jklmno) is underscored Note the ')' I will attach a patch which adds \t, \r and \n to the characters that can't be matched.
Created attachment 17254 [details] [review] Do not match \t\r\n
Patch looks good to me.
Commited