[Bug 287551] man:tar makes a tar archive instead.

Martin Koller kollix at aon.at
Mon Aug 13 17:47:06 BST 2012


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

Martin Koller <kollix at aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Version Fixed In|                            |4.9.1
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/kde-
                   |                            |runtime/2faf28e34a13378a8a9
                   |                            |4b774e8f00c0cfca3b48d
      Latest Commit|http://commits.kde.org/kde- |http://commits.kde.org/kde-
                   |runtime/2faf28e34a13378a8a9 |runtime/9dc53f72fc5f29b379b
                   |4b774e8f00c0cfca3b48d       |4e3d649484ff9aff7e05e

--- Comment #8 from Martin Koller <kollix at aon.at> ---
Git commit 2faf28e34a13378a8a94b774e8f00c0cfca3b48d by Martin Koller.
Committed on 13/08/2012 at 18:39.
Pushed by mkoller into branch 'KDE/4.9'.

change tmp filename pattern to avoid misinterpretation

In the mentioned bugreport, kio_man is used with the url "man:tar"
firefox, which loads the tmp file kioexec created, seems to have a problem with
the filename ending in
.tar as it thinks the file is a TAR file. The problem stems from the fact that
kioexec creates the krun tmp filename by the
pattern <pid>.<jobnum>.<filename> and in this case filename == "tar"
A simple solution to not create a tmpfilename which can be misinterpreted is by
changing "." -> "_" in the name pattern
so that the created filename does not have an "extension" part.
FIXED-IN: 4.9.1

M  +1    -1    kioexec/main.cpp

http://commits.kde.org/kde-runtime/2faf28e34a13378a8a94b774e8f00c0cfca3b48d

--- Comment #9 from Martin Koller <kollix at aon.at> ---
Git commit 9dc53f72fc5f29b379b4e3d649484ff9aff7e05e by Martin Koller.
Committed on 13/08/2012 at 18:39.
Pushed by mkoller into branch 'master'.

change tmp filename pattern to avoid misinterpretation

In the mentioned bugreport, kio_man is used with the url "man:tar"
firefox, which loads the tmp file kioexec created, seems to have a problem with
the filename ending in
.tar as it thinks the file is a TAR file. The problem stems from the fact that
kioexec creates the krun tmp filename by the
pattern <pid>.<jobnum>.<filename> and in this case filename == "tar"
A simple solution to not create a tmpfilename which can be misinterpreted is by
changing "." -> "_" in the name pattern
so that the created filename does not have an "extension" part.
FIXED-IN: 4.9.1

M  +1    -1    kioexec/main.cpp

http://commits.kde.org/kde-runtime/9dc53f72fc5f29b379b4e3d649484ff9aff7e05e

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list