[Differential] [Request, 7 lines] D1384: Fix opening tar.foo.N archivesTar archives whose extension is something like `tar.gz.1` will be opened by thesinglefile plugin. It seems wget can create this kind of filenames.This patch extends the input validation we already do for tar...

elvisangelaccio (Elvis Angelaccio) noreply at phabricator.kde.org
Mon Apr 11 10:34:13 UTC 2016


elvisangelaccio created this revision.
elvisangelaccio added a reviewer: rthomsen.
Restricted Application added a subscriber: kde-utils-devel.
Restricted Application added a project: Ark.

REVISION SUMMARY
  ...archives, to
  cover also this case.
  
  Fix bug with tar.gz.n extensions

TEST PLAN
  a test case is added in the mimetype tests.

REPOSITORY
  rARK Ark

BRANCH
  fix-wrong-tar-extension

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

AFFECTED FILES
  autotests/kerfuffle/data/wget-download.tar.gz.1
  autotests/kerfuffle/mimetypetest.cpp
  kerfuffle/mimetypes.cpp

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

To: elvisangelaccio, rthomsen
Cc: kde-utils-devel, tctara


More information about the Kde-utils-devel mailing list