https://bugs.kde.org/show_bug.cgi?id=487587

--- Comment #1 from Tomasz Kaźmierczak <tome...@runbox.com> ---
I was trying to debug the issue.

I've run Dolphin in gdb (with debug symbols loaded, but without the source code
attached) and the crash indeed, as the stack trace suggests, is caused by the
fact that some entry processed by KFileItem starts with the slash character -
in the console I can see the following message:

    ASSERT: "!path2.startsWith(QLatin1Char('/'))" in file
./src/core/../utils_p.h, line 109

Then, in the debugger, I noticed that the string (m_strName) is actually the
slash: "/". So I figured that Dolphin may just not like root paths in WebDAV
URLs and I started playing with the URL.

Originally my URL was like this (address and port number are obviously made
up):
    webdavs://my-domain.com:1234

This crashed Dolphin. So I've tried the following:
    webdavs://my-domain.com:1234/

It worked!

Yes - a slash at the end of URL stopped Dolphin from crashing, although the
source code complained about a slash...

Anyway, I think that Dolphin should accept URLs with no trailing slashes (or at
least it shouldn't be crashing if one is not there).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to