https://bugs.kde.org/show_bug.cgi?id=362690

Elvis Angelaccio <elvis.angelac...@kdemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |16.04.1
      Latest Commit|                            |http://commits.kde.org/ark/
                   |                            |846febf951f8a6d31a325ca4b39
                   |                            |56afece68be01
             Status|CONFIRMED                   |RESOLVED

--- Comment #3 from Elvis Angelaccio <elvis.angelac...@kdemail.net> ---
Git commit 846febf951f8a6d31a325ca4b3956afece68be01 by Elvis Angelaccio.
Committed on 05/05/2016 at 20:33.
Pushed by elvisangelaccio into branch 'Applications/16.04'.

addtoarchive: drop extension only when present

AddToArchive currently tries to drop the extension from any filename,
even if there is no extension in it. We now exploit the mimetype
detected-by-extension: if it's the default mimetype,
then the filename is just a string with some dots but no valid extension.
Otherwise the filename has an actual extension, which we discard.

A testcase is added to reproduce the issue.
FIXED-IN: 16.04.1

Differential Revision: D1541

M  +6    -0    autotests/kerfuffle/addtoarchivetest.cpp
A  +1    -0    autotests/kerfuffle/data/test-3.4.0/testfile1.txt
M  +7    -2    kerfuffle/addtoarchive.cpp

http://commits.kde.org/ark/846febf951f8a6d31a325ca4b3956afece68be01

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to