LdapUrl: remove ctor code which made the QUrl invalid.

Authored by dfaure on Apr 20 2018, 12:09 PM.

Description

LdapUrl: remove ctor code which made the QUrl invalid.

Summary:
dn() already takes care of removing the leading slash from the path
anyway.

This only showed up during debugging of a new unittest, because actual
kioslave code (which is where LdapUrl is built from QUrl) only queries
for components out of the LdapUrl, not for the full string
representation.

Test Plan: unittest in next commit

Reviewers: dvratil, mlaurent

Reviewed By: mlaurent

Subscribers: KDE PIM

Tags: KDE PIM

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

Details

Committed
dfaureApr 21 2018, 1:57 PM
Reviewer
mlaurent
Differential Revision
D12386: LdapUrl: remove ctor code which made the QUrl invalid.
Parents
R178:aef21d5c5f91: LdapUrl: fix LDAP queries broken with non-ascii search strings.
Branches
Unknown
Tags
Unknown
References
tag: v18.04.1