Review Request: Filter user input when creating a shortcut link to a URL location

Dawit Alemayehu adawit at
Thu Jan 12 18:14:28 GMT 2012

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


If a user enters,, in the URL location link file creation dialog, then the generated .desktop file entry would contain a URL entry without a scheme and as a result opening the link in Konqueror fails. Moreover, the code that attempts to determine the icon to associate with the newly created link file also fails to obtain the proper icon because of the missing scheme. The attached patch addresses both those issues by filtering the user input using the shorturifilter. Note that this problem was discovered while evaluting the afforementioned bug report.

This addresses bug 224142.


  kfile/knewfilemenu.cpp 07db5b8 




Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list