Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Regression with semicolon in ftp password #1252
I did this
I am using the curl library in my program and I recently upgraded from version 7.21.4 to version 7.50.1 and I noticed a behavior change with semicolon in ftp password for example when using the URL "ftp://user:pass;firstname.lastname@example.org"
I expected the following
I expected my program to use "user" and "pass;word" for authentication when using the URL "ftp://user:pass;email@example.com" but instead I have "user" and "pass".
With curl 7.21.4, the URL "ftp://user:pass;firstname.lastname@example.org" was giving "user" and "pass;word" for authentication.
Agreed. Regression brought by 73aa955. The semicolon (and the associated option it was added for) should not be treated like this for FTP:// URLs.
Semicolons are sub-delims according to RFC3986 which allows them to serve as delimiters for scheme-specific things, but there's no such field for FTP there and thus it should be allowed...