Bug 56290 - Unable to edit username after retrying the ftp login
Summary: Unable to edit username after retrying the ftp login
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: ftp (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 23:18 UTC by Torquil Macdonald Sørensen
Modified: 2003-04-05 21:09 UTC (History)
0 users

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 Torquil Macdonald Sørensen 2003-03-23 23:18:43 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc version 3.2.3 20030309 (Debian prerelease) 
OS:          Linux

After writing ftp://hostname in the addressbar in konqueror, a popup dialog appears asking for username and password. If I write the wrong username, and hence get a login failure and then click on "Retry", I get a new dialog box with the username "anonymous" prefilled into the username field, and I am unable to edit it.

	Torquil Macdonald
Comment 1 Thiago Macieira 2003-03-24 01:21:41 UTC
Debugging for bug #56289, I've found this to happen as well. I could not find a way 
out. 
 
Anyways, this is a contention because, once a username has been accepted, the 
FTP server does not allow going back to an unauthenticated state without 
reconnection. It should, however, accept the change in username and, in case it 
does differ, disconnect and connect again for the new username. 
Comment 2 David Faure 2003-03-24 13:22:13 UTC
Subject: Re:  Unable to edit username after retrying the ftp login

On Monday 24 March 2003 01:21, you wrote:
> Anyways, this is a contention because, once a username has been accepted, the 
> FTP server does not allow going back to an unauthenticated state without 
> reconnection. It should, however, accept the change in username and, in case it 
> does differ, disconnect and connect again for the new username.

IIRC Dawit wrote the "disable the user field" code. Dawit, can you explain it?
I remember seeing this problem too, and I don't see why (in the case of FTP
at least), it shouldn't be possible to edit the login name.

Comment 3 Dawit Alemayehu 2003-04-05 21:09:13 UTC
Hello, 
 
Fixed and backported to the current stable version. 
Thanks for the report. 
 
Regards, 
Dawit A. 
Comment 4 Dawit Alemayehu 2003-04-05 21:56:04 UTC
Subject: Re:  Unable to edit username after retrying the ftp login

Hello,

Sorry, I forgot to respond to this...

> On Monday 24 March 2003 01:21, you wrote:
> > Anyways, this is a contention because, once a username has been accepted,
> > the FTP server does not allow going back to an unauthenticated state
> > without reconnection. It should, however, accept the change in username
> > and, in case it does differ, disconnect and connect again for the new
> > username.
>
> IIRC Dawit wrote the "disable the user field" code. Dawit, can you explain
> it? I remember seeing this problem too, and I don't see why (in the case of
> FTP at least), it shouldn't be possible to edit the login name.

Yes, basically it was intended to prevent the user from changing the username 
if the URL (s)he entered was ftp://user@host. Fixed in CVS will backport to 
the stable branch.

Regards,
Dawit A.