Review Request 122475: Fix bug 343906 - Unable to handle plain directory paths as QUrl

Arjun AK arjunak234 at gmail.com
Tue Feb 10 06:09:27 GMT 2015



> On Feb. 10, 2015, 3:31 a.m., Kevin Kofler wrote:
> > IMHO, QUrl::fromUserInput(str, QString() QUrl::AssumeLocalFile) would be safer. Or do you really think "dolphin nonexistentfile" should look up "nonexistentfile" over DNS?
> 
> Thomas L├╝bking wrote:
>     +1, notably since http://nonexistenfile won't be very helpful in dolphin, but will directly open a browser.
>     One could end up on nasty pages.

>IMHO, QUrl::fromUserInput(str, QString() QUrl::AssumeLocalFile) would be safer. Or do you really think "dolphin nonexistentfile" should look up "nonexistentfile" over DNS?

[Done](http://commits.kde.org/kde-baseapps/0f91025a752b37ea4b6f2e7c02507bda5863e71f)


- Arjun


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122475/#review75736
-----------------------------------------------------------


On Feb. 9, 2015, 6:18 p.m., Arjun AK wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122475/
> -----------------------------------------------------------
> 
> (Updated Feb. 9, 2015, 6:18 p.m.)
> 
> 
> Review request for KDE Base Apps.
> 
> 
> Bugs: 343906
>     http://bugs.kde.org/show_bug.cgi?id=343906
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
> URLs passed as commandline arguments should be constructed using `QUrl::fromUserInput()`
> 
> 
> Diffs
> -----
> 
>   dolphin/src/main.cpp 094402f 
> 
> Diff: https://git.reviewboard.kde.org/r/122475/diff/
> 
> 
> Testing
> -------
> 
> dolphin /tmp
> dolphin ftp.debian.org
> 
> 
> Thanks,
> 
> Arjun AK
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20150210/b3ea27a5/attachment.htm>


More information about the kde-core-devel mailing list