Summary: | KUrlNavigator does not correctly parse URLs with two consecutive slashes | ||
---|---|---|---|
Product: | [Unmaintained] kfile | Reporter: | David Benjamin <davidben> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andresbajotierra, finex, rakuco |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screenshot of problem
Patch for fixing duplicated slashes in KUrlNavigator/Buttons |
Description
David Benjamin
2008-02-22 20:33:04 UTC
Cannot reproduce on revision 778170. Could you try a more updated version please? Thanks a lot! Cannot reproduce even in more recent revision. Created attachment 23882 [details]
screenshot of problem
Hi.
Sorry for taking so long to respond. It was a while before I got an SVN build
running, or had time to play around for that matter.
The bug still occurs for me on an SVN build checked out today. (The base system
is Fedora 8, if that is relevant.)
Attached is an image of the bug.
Now I can reproduce this bug too. I've re-compiled last monday. It this a "kfile" or a "dolphin" issue? Isn't KUrlNavigator part of kfile? Or am I ridiculously confused? I don't know. I've asked it because I don't know :-) Hej, I can reproduce the bug with current trunk. Attached is a patch which fixes the problem for local pathes. Remote pathes (e.g. fish://) are still buggy. IMHO the classes need a complete redesign to fix that issue. Ciao, Tobias Created attachment 24497 [details]
Patch for fixing duplicated slashes in KUrlNavigator/Buttons
The problem still occurs in KDE 4.2.1 here. Here using: Qt: 4.5.1 (qt-copy 958974) KDE: 4.2.86 (KDE 4.2.86 (KDE 4.3 >= 20090514)) kdelibs svn rev. 969788 / kdebase svn rev. 969788 on ArchLinux i686 - Kernel 2.6.29.3 When I'm editing the locationbar, if I enter a second slash (like "/home//user"), and press Enter, the second slash is removed automatically. So, when you return to the breadcrumb mode, the path is displayed Ok. Can anyone else confirm this ? Thanks This was fixed by commit 948028 - please see bug 188417 as well. |