Issue 1018: Broken linkified URL in commit message
Status:  Submitted
Owner: ----
Closed:  Jun 2011
Reported by francoisatwork@gmail.com, Jun 19, 2011
Affected Version: 2.1.7.2

In the commit message of a change, URLs with a tilde (~) character in them don't seem to get converted to a link properly.

For example, see this change:

  https://reviews.mahara.org/#change,282

It has the following URL:

  https://gitorious.org/~anzeljg/mahara/anzeljg-mahara/commits/new_slideshow

which gets converted to this link:

  <a href="https://gitorious.org/">https://gitorious.org/</a>~anzeljg/mahara/anzeljg-mahara/commits/new_slideshow

Now, based on what I see in gerrit-gwtui/src/main/java/com/google/gerrit/client/changes/CommitMessageBlock.java:

    SafeHtml msg = new SafeHtmlBuilder().append(commitMessage);
    msg = msg.linkify();

this may be a bug against com.google.gwtexpui.safehtml.client.SafeHtml instead, but I'm not sure whether it's a bug in the bundled(?) version of GWT or if it's an upstream bug.
Jun 20, 2011
#1 sop@google.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.2.2
Nov 3, 2011
Project Member #2 edwin.ke...@gmail.com
 Issue 838  has been merged into this issue.