D8568: Do not clear parameters when changing the mimetype of a Content-Type header

Volker Krause noreply at phabricator.kde.org
Tue Oct 31 11:43:40 GMT 2017


vkrause created this revision.
vkrause added a reviewer: KDE PIM.
Restricted Application added a project: KDE PIM.

REVISION SUMMARY
  As there is no API to retrieve and restore all parameters, it is otherwise
  impossible to change the mimetype while preserving all other parameters.
  This is needed for example when fixing wrong mimetype information for
  display in KMail (see https://phabricator.kde.org/D8551).

TEST PLAN
  Unit test of messagelib (which is the primary consumer of this API) still
  pass too.

REPOSITORY
  R180 PIM: KMime

BRANCH
  master

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

AFFECTED FILES
  src/kmime_headers.cpp
  src/kmime_headers.h

To: vkrause, #kde_pim
Cc: dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20171031/df09c8bf/attachment.html>


More information about the kde-pim mailing list