[Rtcomm] [Rtcomm] [Bug 6123] brackets in link breaks the link in messaging app

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Fri Nov 13 09:05:45 EET 2009
https://bugs.maemo.org/show_bug.cgi?id=6123





------- Comment #3 from maemo at subs.maneos.org  2009-11-13 09:05 GMT+3 -------
(In reply to comment #2)
> a) it works in other chat clients

It seems to "work" in pidgin but not in empathy or psi at least.

> b) when other people send links with
> brackets, or i copy a link with a bracket from the web browser and paste it in
> an IM conversation, the link just doesn't work.

Hm, with desktop Firefox copying a URL from the location bar produces a
percent-encoded string, while copying it from a link in the page area produces
a raw/un-encoded one.  Microb produces the raw version in both cases.  There
may be a bug in there somewhere...

> it seems a bit confusing that this is not a bug.

The other side of it is that treating non-escaped parentheses as part of the
URL will break valid input such as "blah blah blah (see http://example.net)". 
Pidgin for example suffers from this.  If you can't please everyone following
the spec is the right way to go IMHO.

Consider also that in the examples discussed here the body elements containing
the "links" are actually plain text strings (as opposed to eg XHTML-IM).  The
chat ui can only do a best-effort guess of what the sender intended (a URI
included in a href attribute would be a different story).  The same problem is
present everywhere plain-text content can contain links.  For example when
modest receives a text/plain message containing the same URL, it  links to
"http://en.wikipedia.org/wiki/V_(1983_miniseries" (which is definitely a bug if
anyone cares enough to file it).


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=6123
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Rtcomm mailing list