D7948: Only match real MIME types, not e.g. "raw CD image"

David Faure noreply at phabricator.kde.org
Sat Sep 23 07:18:42 UTC 2017


dfaure added a comment.


  Yes, but then startsWith() would be even more correct (and slightly faster) than contains().
  
  And application/vnd.oasis.opendocument.text isn't plain text, so contains("text") should also be changed to startsWith("text/").

REPOSITORY
  R293 Baloo

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

To: ngraham, #frameworks, nicolasfella, dfaure, kossebau, vhanda
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170923/034e9154/attachment.html>


More information about the Kde-frameworks-devel mailing list