Menu

#1311 ftp passwd with semicolon

closed-fixed
None
5
2014-08-21
2013-12-10
Petr Bahula
No

Bad work with passworh containing letter `;' - semicolon. Password is cuted on semicolon n position.

Last working version: curl-7.30.0
Not working versions: curl-7.31.0, curl-7.33.0

OS: Linux Gentoo amd64

$ curl -v -u "user:pass;word" ftp://server/
......
> USER user
< 331 Password required for user.
> PASS pass
< 530 Login incorrect.

$ curl -v -u "user:pass\;word" ftp://server/
......
> USER user
< 331 Password required for user.
> PASS pass\
< 530 Login incorrect.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2013-12-10
    • status: open --> open-confirmed
    • assigned_to: Daniel Stenberg
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-10

    Thanks, yes there's no way to escape the ;-handling... the ; separates the password from the options part (which is optional)

     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-14
    • status: open-confirmed --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-14

    Thanks, fixed now in git and it will be included in the upcoming 7.34.0 release.

     
    • Alex

      Alex - 2014-04-17

      Daniel, was ";" support simply removed, not fixed? I can't login with ; in password.

       
  • Daniel Stenberg

    Daniel Stenberg - 2014-04-17

    Alex: you don't say which version you have, but if it is 7.34.0 oir later you're either experiencing a new bug or do something wrong. Please post to the curl-users list.