Diffusion KIO 0c8506f982e0

[KSambaShare] Trim trailing / from share path

Authored by bruns on Oct 27 2018, 1:34 PM.

Description

[KSambaShare] Trim trailing / from share path

Summary:
When adding usershares manually on the command line, it is common to
have a path with trailing "/" due to tab completion. Samba treats paths
with and without / the same, but KIO does not pick up these shares.

These folder paths are not marked in e.g. dolphin as shared and can not
be edited properly.

Test Plan:
make && ctest
open directory with shared folders in dolphin, also share with trailing / in path= show up

Reviewers: Frameworks, broulik

Reviewed By: broulik

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D16464

Details

Committed
brunsOct 28 2018, 3:31 PM
Reviewer
broulik
Differential Revision
D16464: [KSambaShare] Trim trailing / from share path
Parents
R241:db608a5a4519: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown