[Differential] [Request, 4 lines] D4060: kio: Ensure user certificate directory has been created before storing certs to it

Michael Pyne noreply at phabricator.kde.org
Tue Jan 10 03:26:35 UTC 2017


mpyne created this revision.
mpyne added reviewers: Frameworks, ahartmetz.
mpyne set the repository for this revision to R241 KIO.
Restricted Application added a project: Frameworks.

REVISION SUMMARY
  The KSSL KCM fails to save imported certificates to the user certificate store (without an error message either), as reported by multiple users in bug 342958 <https://bugs.kde.org/show_bug.cgi?id=342958>.
  
  The bug report lead to a workaround to manually creating the needed directory first, which makes the KCM work fine.
  
  This patch fixes the reported bug by ensuring that the userDir directory has been created (using QDir::mkpath) before trying to save the certificates.  Due to the KCM code layout (the KCM is in kdelibs4support) the relevant code is in KIO.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D4060

AFFECTED FILES
  src/core/ksslcertificatemanager.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mpyne, #frameworks, ahartmetz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170110/c9bf79fd/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list