-
Notifications
You must be signed in to change notification settings - Fork 100
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
NLST: return paths relative to the working directory #368
Conversation
Codecov ReportBase: 86.07% // Head: 86.25% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #368 +/- ##
==========================================
+ Coverage 86.07% 86.25% +0.17%
==========================================
Files 11 11
Lines 1573 1600 +27
==========================================
+ Hits 1354 1380 +26
- Misses 151 152 +1
Partials 68 68
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@fclairamb thanks for reviewing/approving this PR so quickly. This code is already included in SFTPGo v2.3.5 (I had a security related release planned for this weekend) but I prefer to wait a few more days to get feedback from the user who reported the problem and to do another code review before merging here |
there is another subtle difference with ProFTPD. If you run a
while ProFTPD returns this:
|
Based on RFC 959 NLST is intended to return information that can be used by a program to further process the files automatically.
Based on RFC 959 NLST is intended to return information that can be used by a program to further process the files automatically.
More details here.
Returning absolute paths is simpler but it will break
mget dir/*