kio ftp uses absolute paths with SIZE command

Bug #1651984 reported by AZ on 2016-12-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kio (Ubuntu)

Bug Description

kio-ftp should use relative paths with SIZE command whenever possible.

This was already fixed 2014 in KDE 4.14.2, but is broken in current ubuntu kde.

Wireshark FTP Trace:

220 SwiFTP 2.11.3 ready
USER ftp
331 Send password
PASS *secret*
230 Access granted
215 UNIX Type: L8
257 "/"
cwd /DCIM/Camera/20160729_102840_HDR.jpg
550 Can't CWD to invalid directory
cwd /DCIM/Camera
250 CWD successful
200 Binary type set
227 Entering Passive Mode (172,16,3,20,210,32).
list 20160729_102840_HDR.jpg
150 Opening BINARY mode data connection for file list
226 Data transmission OK
SIZE /DCIM/Camera/20160729_102840_HDR.jpg
550 No directory traversal allowed in SIZE param
cwd /DCIM/Camera/20160729_102840_HDR.jpg
550 Can't CWD to invalid directory
227 Entering Passive Mode (172,16,3,20,169,255).
retr /DCIM/Camera/20160729_102840_HDR.jpg
150 Sending file
226 Transmission finished

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: kio 5.18.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-53.74-generic 4.4.30
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Dec 22 10:17:55 2016
SourcePackage: kio
UpgradeStatus: Upgraded to xenial on 2016-04-22 (243 days ago)

AZ (m-dev) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers