Review Request: Fix bug 270345 : URL parser recognizes addresses starting with http:// or https:// only

Francesco Nwokeka francesco.nwokeka at gmail.com
Thu Apr 14 12:30:46 CEST 2011



> On April 14, 2011, 10:21 a.m., Rohan Garg wrote:
> > Correct me if I am wrong, but won't it be better to use KProtocolInfo::isKnownProtocol here instead of doing things manually

Where?if you refer to line 365 then that's not possible. The url is "hidden" inside a blob of html code. That means I have to search for the url patterns and send it to the chat as a link otherwise it's not recognized.


- Francesco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101080/#review2631
-----------------------------------------------------------


On April 14, 2011, 9:38 a.m., Francesco Nwokeka wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101080/
> -----------------------------------------------------------
> 
> (Updated April 14, 2011, 9:38 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Summary
> -------
> 
> Simple patch to recognize other links other than http(s). Added smb and (s)ftp. if there are others to add please let me know
> 
> 
> This addresses bug 270345.
>     http://bugs.kde.org/show_bug.cgi?id=270345
> 
> 
> Diffs
> -----
> 
>   lib/adium-theme-view.cpp 8a8818c 
> 
> Diff: http://git.reviewboard.kde.org/r/101080/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Francesco
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-telepathy/attachments/20110414/59ca2fb9/attachment.htm 


More information about the KDE-Telepathy mailing list