LdapUrl: fix LDAP queries broken with non-ascii search strings.

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

Description

LdapUrl: fix LDAP queries broken with non-ascii search strings.

Summary:
Qt5 made query() return a PrettyDecoded query string, while the code
was calling fromPercentEncoding for the filter, i.e. assuming it to be FullyEncoded.

With unittest

Test Plan: Typing Valérie in kmail composer now finds LDAP completion correctly.

Reviewers: dvratil, mlaurent

Reviewed By: dvratil

Subscribers: KDE PIM

Tags: KDE PIM

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

Details

Committed
dfaureApr 20 2018, 5:58 PM
Reviewer
dvratil
Differential Revision
D12387: LdapUrl: fix LDAP queries broken with non-ascii search strings.
Parents
R178:b54f4839d96b: GIT_SILENT: prepare 5.8.1
Branches
Unknown
Tags
Unknown