Bug 154098 - bugs in ftp protocol handler, when using proxy
Summary: bugs in ftp protocol handler, when using proxy
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Unclassified
Component: ftp (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal with 40 votes (vote)
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 188290 230367 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-15 13:46 UTC by Ilia K.
Modified: 2017-07-12 19:32 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia K. 2007-12-15 13:46:07 UTC
Version:           3.97.00 (KDE 4.0 RC2) (using KDE 3.97.00 (KDE 4.0 RC2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.22-14-generic

Probably, handling a proxy is totally broken in konqueror, so this bug may have a common roots with bug #154095

Steps to reproduce:
1-5. Follow steps 1-5 from bug #154095
6. Type some FTP address in an address bar, e.g. ftp://ftp.kernel.org
7. Observe the error message instead of a page. For example:
An error occurred while loading ftp://ftp.kernel.org:
Access denied to smb://ftp.kernel.org.

Steps to reproduce another error:
1-4. Follow steps 1-4 from bug #154095
5. Enter some ftp proxy or  turn on  "Use the same proxy server for all protocols" option
6. Type some FTP address in an address bar, e.g. ftp://ftp.kernel.org
7. Observe a dialog box with a error message. For example:
URL cannot be listed
ftp://ftp.kernel.org
Comment 1 Maksim Orlovich 2007-12-15 17:08:42 UTC
Thanks for testing this stuff...
Comment 2 Ian M 2008-01-17 17:19:27 UTC
Confirming this behaviour using KDE Four Live CD 1.0

I have http and https proxy set (not that they work anyway, but that's another bug report), ftp proxy is blank.
Comment 3 Öyvind Saether 2009-01-04 08:39:29 UTC
1. Configure a *http* proxy. Leave proxy settings for ftp and https blank.
2. Go to any ftp site, watch Konqueror FAIL.

QT: 4.5.0_beta1
KDE: 4.1.87

Konqueror
Version 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101))
Using KDE 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101))


KONQUEROR OUTPUT:

The requested operation could not be completed
Access Denied
Details of the Request:
URL: ftp://ftp.trolltech.no/qt/source/
Protocol: ftp
Date and Time: Sunday 04 January 2009 08:31
Additional Information: smb://ftp.trolltech.no/qt/source/


CONSOLE OUTPUT:
$ konqueror 
konqueror(6407)/kio (KIOJob) KIO::StatJobPrivate::slotRedirection: Redirection f                                                         rom  KUrl("ftp://ftp.trolltech.no/qt/source/ftp://ftp.trolltech.no/qt/source/")                                                           to  KUrl("smb://ftp.trolltech.no/qt/source/ftp://ftp.trolltech.no/qt/source/")                                                           REJECTED! 
konqueror(6407)/kio (KIOJob) KIO::ListJobPrivate::slotRedirection: ListJob: Redi                                                         rection from  KUrl("ftp://ftp.trolltech.no/qt/source/")  to  KUrl("smb://ftp.tro                                                         lltech.no/qt/source/")  REJECTED! 
konqueror(6407)/kio (KIOJob) KIO::StatJobPrivate::slotRedirection: Redirection f                                                         rom  KUrl("ftp://ftp.trolltech.no/qt/source/")  to  KUrl("smb://ftp.trolltech.no                                                         /qt/source/")  REJECTED! 

Comment 4 Artem S. Tashkinov 2009-05-05 15:39:41 UTC
*** Bug 188290 has been marked as a duplicate of this bug. ***
Comment 5 Artem S. Tashkinov 2009-05-05 15:42:52 UTC
The bug persists in KDE 4.2.2/Qt 4.5.0 - FTP protocol is completely unusable in Konqueror and Dolphin if only HTTP proxy is set.
Comment 6 Dawit Alemayehu 2011-03-08 06:26:13 UTC
*** Bug 230367 has been marked as a duplicate of this bug. ***
Comment 7 Dawit Alemayehu 2011-03-08 06:42:54 UTC
#1. The issue of setting individual proxy settings as mentioned above works fine for me in KDE 4.6 ; so I assume this is no longer an issue.

#2. FTP over HTTP proxy can never be supported by Dolphin because such requests always return a web page. There is a pending fix for restroing this functionality in Konqueror. See https://git.reviewboard.kde.org/r/100814/.

#3. HTTPS over proxy has also been fixed for 4.6.2. See https://projects.kde.org/projects/kde/kdelibs/repository/revisions/8a2929b2dd8b7fe166053aed51a5def3c6565844

I think that covers all the issue hinted or mentioned here. Feel free to reopen this ticket if item #1 is not working for you in KDE 4.6 and higher. Follow bug # 236630 for item #2 and update to 4.6.2 when it comes out for both item #1 and #3.