After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 346595 - mailto URL scanner includes chars that are not allowed
mailto URL scanner includes chars that are not allowed
Status: RESOLVED WONTFIX
Product: GtkHtml
Classification: Other
Component: Parsing
3.10.x
Other Linux
: Normal minor
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
gnome[unmaintained]
Depends on:
Blocks: 681371
 
 
Reported: 2006-07-05 00:32 UTC by Karsten Bräckelmann
Modified: 2017-02-09 13:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Karsten Bräckelmann 2006-07-05 00:32:28 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. :)
Comment 1 Gilles Dartiguelongue 2007-01-14 23:20:33 UTC
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 ?
Comment 2 André Klapper 2017-02-09 13:39:08 UTC
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.