Issue #6146 new

URL linkify handles HTML entities incorrectly (BB-7412)

Frode Moe
created an issue

The web interface fails to parse "www." in commit messages.

The raw bytes are doublequote, w, w, w, ., doublequote but it shows up as doublequote, w, w, w, ., ampersand, q, u, o, t, semicolon

For an example, see: https://bitbucket.org/fluff/bitbucketbug/commits/a41876beea086a923003ed8d2faf2316

Comments (3)

  1. Michael Frauenholtz staff

    Thanks for logging this. It looks like our expression to determine URLs needs some work. I've added this issue to our internal backlog. We'll take care of it and let you know when we have more to share about this.

    Cheers, Michael

  2. Frode Moe reporter

    Something must have changed here, but now it appears as: doublequote, w, w, w, ., doublequote, semicolon in the original example. Note the trailing semicolon after the final quote that comes out of nowhere. In fact, the generated HTML looks kind of invalid, as the </a> is inserted between &quot and ;

  3. Log in to comment