Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 Passwords with space

closed-fixed
nobody
4
2004-03-13
2003-12-28
Anonymous
No

I tried to connect to an FTP server with a password that
contains a space character. The dialog does not take
the full password and only passes the password up to
the first space.

Example: password is "pass word "
only the word "pass" is passed to the server.

Discussion

  • Jake Kasprzak
    Jake Kasprzak
    2003-12-28

    Logged In: YES
    user_id=691521

    Thank you for the bug submission, and I apologize for any
    inconvenience. But I have a few questions. Did you try to
    connect to the FTP server by selecting the "connect to FTP
    server" option or by selecting a remebered connection? Or did
    this happen with both types? And can you tell me if this has
    happened with previous versions, or just version 1.40?

    Once again, I apologize for not being careful enough to
    ensure that this would not take place. I would like to receive
    some more information, and I'll work on having this patched as
    soon as possible, likely within the next week, but no later
    than two weeks.

    Thanks,

    J.K.

     
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-12

    Logged In: YES
    user_id=691521

    This is an update on the patch for this bug.

    I have previously mentioned that a patch for the bug that
    does not allow passwords with white space in them would be
    released within two weeks of the bug being announced here. I
    have worked on rewriting the source code in four different
    files, and unfortunately, have not been able to release a
    patch that I can assure you is bug-free. I should mention
    that another bug was found in which the ports to which SFTP
    connections were made would not be stored, and I have
    chosen to patch that bug as well. I apologize for taking
    longer than expected in patching this source code. However,
    much progress toward a solution has been made and I am
    sure that the patch will be made available within the next
    three days.

    In addition, I should mention that the patch involves changing
    the way in which the file that stores previous connection
    data is set up, in order for it to be as robust as possible. I
    have ensured that the connection data that you presently
    have stored in the file will be rewritten to conform to the new
    data file format in this new version in order to maintain
    backwards compatibility. All you will need to do is copy the
    new source files to the correct directories and re-compile the
    source. Upon running JFtp once again, the connection data
    file will be modified so that it will be compatible with the
    patched source code.

    Once again, I apologize for taking this much time in fixing this
    bug. I simply want to ensure that this code is as bug-free as
    possible, and that the patch does not need to be patched.

    Thank you,

    J.K.

     
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

     
    Attachments
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

    Copy to j-ftp\src\java\net\sf\jftp\net\

     
    Attachments
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

    Copy to j-ftp\src\java\net\sf\jftp\gui\

     
    Attachments
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

    Copy to j-ftp\src\java\net\sf\jftp\gui\

     
    Attachments
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

    • priority: 5 --> 4
    • status: open --> open-fixed
     
  • Jake Kasprzak
    Jake Kasprzak
    2004-01-16

    Logged In: YES
    user_id=691521

    Hello.

    This is to inform you that a patch has been uploaded here,
    with instructions on where to copy each source file. (The
    JFtp.java file can be copied to j-ftp\src\java\net\sf\jftp\.) I
    have found that this works for me, but unfortunately, I have
    not been able to test this code as thoroughly as I would have
    liked. You may use this patch by downloading these files,
    copying them to the correct locations, and re-compling the
    source with Ant. However, you may find bugs in this code
    that I was unable to uncover. If any are found, please inform
    me and I will release another patch as soon as possible.

    I would also like to apologize for the delays in patching this. I
    was unable to get on the SourceForge site last night, and
    there have been a variety of other events that took place
    that did not allow me to release this code within the
    estimated amount of time for patching it. However, I believe
    that the code is bug-free, and will patch this patch if
    necessary.

    Thank you,

    J.K.

     
  • Cyberdemon
    Cyberdemon
    2004-03-13

    • status: open-fixed --> closed-fixed
     
  • Cyberdemon
    Cyberdemon
    2004-03-13

    Logged In: YES
    user_id=164594

    Applied the patch to 1.42-pre1.