Bug#426592: gnome-terminal: URL detection mechanism flaw

Isaac Freeman isaac at us.ibm.com
Thu Jan 26 18:50:43 UTC 2012


I've found a similar URL parsing flaw. Type the following in to a
gnome-terminal:

xxxftpxxx.xxx.xxx

The "ftpxxx.xxx.xxx" part highlights as a URL, even though it's not a valid
URL format and skips the first "xxx". It's as if the parser is just looking
for something like /\S*ftp\S*\.\S*/. Should be more like /\s
+ftp:\/\/\S*\.\S*/, or better yet, I'm sure there's a URL parsing library
somewhere which has real rules for this stuff.

--
Isaac Freeman - Systems Administrator
IBM Information Protection Services
isaac at us.ibm.com
919-254-0245







More information about the pkg-gnome-maintainers mailing list