Bug 267504

Summary: html links surrounded by [..] aren't recognized as links
Product: [Applications] konversation Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal CC: hein
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Toralf Förster 2011-03-02 21:45:58 UTC
Version:           1.3.1 (using KDE 4.4.6) 
OS:                Linux

Whilee clicking in the freenode message links like :

(http://freenode.net/policy.shtml)

works - firefox will be opened, whereas 

[http://www.fosscon.org]

doesn't open a browser tab 
:-(


Reproducible: Didn't try




OS: Linux (i686) release 2.6.37.2
Compiler: i686-pc-linux-gnu-gcc
Comment 1 Toralf Förster 2011-03-02 21:47:06 UTC
It seems just because the trailing "]" is used as a part of the html address too.
Comment 2 Eike Hein 2011-03-02 21:52:55 UTC
That's been fixed in the development version along with a long list of other improvements; Konversation is now likely to do better on link detection than just about any app you might try based on our testing suite. Here's the relevant changelog excerpt:

* Detection of URLs and email addresses in chat text views to turn them into
  clickable links has been much improved. An incomplete overview of notable
  cases:
  - Unicode characters in URLs are now handled properly, enabling support
    for example for international domain names.
  - Protocol-less links not starting in "www.", such as the short URLs pop-
    ular these days ("bit.ly/foo" and similar), are now recognized.
  - Arbitrary protocols (e.g. "http://" or "message://") are now recognized;
    previously only a small hand-picked and insufficient set was.
  - The check that avoids balanced a pair of parenthesis around an URL be-
    coming part of the link now works for more than one level of balanced
    parenthesis.
  - Aside from balanced pairs of parenthesis, also square and other forms
    of brackets are now handled properly.
  - Trailing question marks no longer become part of the link.
  - URLs using uncommon schemas, e.g. Apple message:// URLs or Wolfram
    Alpha URLs, are now handled properly.
  - Numerous improvements to email link handling: User names containing the
    plus sign are now handled correctly, opening email links from the URL
    Catcher works now and others.
  - The URL detection for the "Open URL" sub-menu in the list entry context
    menu in Channel List tabs now uses the same infrastructure as link detec-
    tion elsewhere rather than separate code, making it massively better com-
    pared to previous versions.
  - Average spreed of link detection has improved slightly.
Comment 3 Toralf Förster 2011-03-03 15:48:57 UTC
Good news - how frequently a new version is released ?
Comment 4 Eike Hein 2011-03-03 16:01:07 UTC
That varies depending on developer time. Right now we're toward the end of the release cycle so hopefully it won't be long.