Review request to fix this!
https://git.reviewboard.kde.org/r/122613/

Thanks for the support guys!

On Sun, Nov 2, 2014 at 1:43 PM, Àlex Fiestas <afies...@kde.org> wrote:

> Hi there
>
> There are quite a few places where the following code is found:
>
> if (!url.path().endsWith('/')) {
>     url.setPath(url.path() + '/');
> }
>
> Given an url like: 'scheme://' KUrl will return '/' as path while QUrl
> returns
> empty string.
>
> This is making kio add a third slash to the url in many places (because of
> code like the one pasted before).
>
> As a result if you open dolphin and type smb://, it will be redirected to
> smb:///.
>
> Is this an intended behavior or should I start sending patches to prevent
> this
> from happening?
>
> Also, even though technically the path of 'smb://' is empty, users are
> used to
> that format (specially given how popular htp:// is) so I would like to keep
> supporting it.
>
> Cheers!
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to