-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test475: verify a 72K ASCII FTP upload #14717
Conversation
Analysis of PR #14717 at 7cfd648b: Test 340 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Test 475 failed, which has NOT been flaky recently, so there could be a real issue in the PR. Note that this test has failed in 9 different CI jobs (the link just goes to one of them). Generated by Testclutch |
Currently ASCII transfer code for FTP simply assumes that the source file is CRLF on Windows and makes no attempt at fixing this. Thus, this test now fails on Windows. This assumption seems odd, and I think we should consider dropping this "exception" done for Windows and instead always change LF line endings to CRLF line endings for FTP ASCII transfers. |
I agree, but then we'd also need to change the code to not convert existing CRLF, I think. |
And think what this all has to do with "ascii"...🤔 |
RFC 959 defines a
|
Is the key sentence I guess. |
I'll first merge #14709, then rebase this PR on top of that and figure out the next step. |
Extended the test format and runtest.pl so that the verify/upload part can be marked using crlf newlines even when the client/file does not have it.
Previously this functionality was limited to platforms that not already use CRLF as native line endings.
All sections defined with the mode="text" attribute now get line endings normalized so that comparisons become line ending agnostic.
With this, one of the Windows CI builds reports this quite cool output:
|
Previously this functionality was limited to platforms that not already use CRLF as native line endings. TODO: 4.5 ASCII support now considered fixed Closes #14717
All sections defined with the mode="text" attribute now get line endings normalized so that comparisons become line ending agnostic. Removes the previous problem of figuring out how exactly different Windows environments should be treated in this regard. Closes #14717
Extended the test format and runtest.pl so that the verify/upload part can be marked using crlf newlines even when the client/file does not have it.