GNOME Bugzilla – Bug 346595
mailto URL scanner includes chars that are not allowed
Last modified: 2017-02-09 13:39:08 UTC
Snippet from a bugzilla mail: What |Removed |Added ---------------------------------------------------------------------------- QAContact|gedit-qa-maint@gnome.bugs |gedit-maint@gnome.bugs GtkHTML created actual mailto: URIs from strings like user@host.com even in text/plain mails. That itself is fine a great feature. With the above example, GtkHTML actually produces two links. The last one is totally fine, the first one includes the leading "QAContact|" in the mailto link. IIRC | is not an allowed char by any RFC, proposed RFC, extension, whatever. GtkHTML should *only* include the chars, that are allowed and even consider the order (like some chars may not appear multiple times, and stuff like that). Note: I recall once seeing a bug about the latter case (including a leading "|"), which has been fixed like recently, IIRC. Since I can not find that bug, I am not sure it is related to that code. There are however quite a few similar bugs (filed for Component Parsing or Rendering). This should be fixed in one fell swoop, plase. :)
a similar bug is also present in gnome-terminal. For example if I do a modprobe -l, and there is module ip_nat_ftp.ko, then _ftp.ko is considered as a link. I'm not sure of how to do it, but I think links should be preceded by [[:blank:]] or no characters at all. Comments ?
GtkHtml is not under active development anymore. Evolution (its main consumer) switched to a WebKit backend a while ago. It is currently unlikely that there will be any further GtkHtml development. Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 778387) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.